https://github.com/robbyrussell/oh-my-zsh
按照如下步骤,即可自动完成终端配置,非常方便
Manual Installation
1. Clone the repository:
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
2. Optionally, backup your existing ~/.zshrc
file:
cp ~/.zshrc ~/.zshrc.orig
3. Create a new zsh configuration file
You can create a new zsh config file by copying the template that we have included for you.
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
4. Change your default shell
chsh -s /bin/zsh
5. Initialize your new zsh configuration(新打开终端生效!)
Once you open up a new terminal window, it should load zsh with Oh My Zsh's configuration.