美文网首页
mac无法安装oh-my-zsh 怎么办呢?

mac无法安装oh-my-zsh 怎么办呢?

作者: 教你前端摸鱼 | 来源:发表于2020-12-13 10:10 被阅读0次

1.打开 iTerm2

2.下载 : git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

2.替换 zshrc : cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

3.bash 切换成zsh:chsh -s /bin/zsh

4.重新启动


image.png

注释: zsh 切换成bash:chsh -s /bin/bash

相关文章

网友评论

      本文标题:mac无法安装oh-my-zsh 怎么办呢?

      本文链接:https://www.haomeiwen.com/subject/obmugktx.html