Skip to content

Instantly share code, notes, and snippets.

@chyuaner
Created April 6, 2013 08:17
Show Gist options
  • Save chyuaner/5325374 to your computer and use it in GitHub Desktop.
Save chyuaner/5325374 to your computer and use it in GitHub Desktop.
將shell換成zsh
$ pacman -S zsh #安裝zsh(以ArchLinux示範)
$ chsh -s /bin/zsh
$ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
$ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
# nano ~/.zshrc
可參考https://github.com/robbyrussell/oh-my-zsh/wiki/themes
在ZSH_THEME那邊修改成你自己想用的佈景
然後按下Ctrl+o儲存,再按Ctrl+x離開
重新登入後應該就能看到已經將shell更換成zsh了,而且也換成自己喜歡的佈景主題囉~
==============================================
參考資料:
http://blog.carlcarl.tw/410/ubuntu%E5%AE%89%E8%A3%9D-oh-my-zsh
http://ching119.blogspot.tw/2013/01/zsh-oh-my-zsh.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment