I use zsh for my default shell.
And oh-my-zsh for enhance zsh
my zshrc
Installation
Make sure you there is zsh on your machine.
If you want to change zsh to default shell, just type $ chsh -s /bin/zsh.
There are possible zsh path. Or you can $ where zsh to find the path1
2/bin/zsh
/usr/local/bin/zsh
oh-my-zsh1
2
3$ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
$ cp ~/.zshrc ~/.zshrc.orig
$ cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
Customized .zshrc !
Tips
可以利用1
for x in 0 1 4 5 7 8; do for i in `seq 30 37`; do for a in `seq 40 47`; do echo -ne "\e[$x;$i;$a""m\\\e[$x;$i;$a""m\e[0;37;40m "; done; echo; done; done; echo "";
來查看terminal所有的顏色

