[Shell]Zsh & Oh-my-Zsh 設定紀錄
Oh-My-Zsh and Zsh
這邊紀錄一下 如何安裝Zsh 跟 Oh-my-zsh
Zsh 是終端機的一種shell,有很方便的補齊功能
還有案tab可以選擇項目,甚至能用上下左右選
Oh-my-Zsh提供很多很漂亮的主題
以下是安裝的紀錄 是從我的hackmd上拿過來的
- install zsh
- apt-get install zsh
- yum install zsh
- brew install zsh
- change shell
chsh -s "/usr/bin/zsh"
- install oh my zsh (see here for information)
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
- change theme (see here for more theme)
- edit .zshrc in your home and change theme you want
- you may need to install powerline fonts
- enjoy your zsh
我目前使用的主題是agnoster 看起來像下面這樣
它還有整合git 功能
很方便 可以看到有沒有更改、add、commit


讚(y)
回覆刪除太猛
回覆刪除