Mac环境下如何安装iTerm2并配置Z-Shell

来源:互联网 发布:java sockect 断开重连 编辑:程序博客网 时间:2024/05/29 11:08

1. 下载 iTerm2 http://www.iterm2.com

2. 将 iTerm2移动到应用程序文件夹

4. 下载dotfiles (可用指令 git clone http://github.com/dorayo/dotfiles.git   ~/dotfiles将其下载到本地)

5. 启动 iTerm,命令行模式输入以下指令

(1) git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

(2) cp -rf ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

(3)   chsh -s /bin/zsh(切换系统 shell 至 oh-my-zsh)

6. 关闭并重新打开iTerm2


PS:贴子中相应资源可至我的资源下载

0 0
原创粉丝点击