One
Http://www.cnblogs.com/GarveyCalvin/p/4301235.html
Two
Foreword: Zsh can be configured strong, user can customize the configuration, personalization is strong. Zsh Tab Completion is more powerful, this feature allows us to save a lot of time. Zsh also has the code highlighting function, makes the code to look better, appears the force lattice higher. Zsh also has a lot of powerful features, and here is not a detail.
Then I'll tell you a joke:
Zsh is all called the Z Shell, because Z is the last letter, so we call it the ultimate shell.
This is one of the comments I saw on the understanding that he was very reasonable and I was speechless.
A lot of people are using bash, which is why? Because zsh in the early days, its configuration is quite complex, the average person can only see the configuration will turn around and leave. However, now there is a cattle abroad, the configuration of the zsh is quite simple, we only need a few steps to complete, and it put the project on GitHub, that is on-my-zsh.
Basic Installation
UNIX-based operating system (MAC, Linux) requires pre-installation of zsh.
How to detect is to install ZSH:
Zsh--version;
ON-MY-ZSH Installation
First, automatic installation
wget Https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh-O-| Sh
Second, manual Installation
1. Cloning a warehouse
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
2. If you already have a ~/.ZSHRC file, back up the existing ~/.ZSHRC file
CP ~/.ZSHRC ~/.zshrc.orig
3. Create a new zsh configuration file
CP ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.ZSHRC
4. Change the default shell
Chsh-s/bin/zsh
5. Restart your terminal (Terminal)
Some previews:
Some of the pits that have been met
Zsh cannot be set as the default shell
If it does, then we can manually enter zsh, just like this:
$ zsh?
In addition, the associated alias can be copied to the ~/.ZSHRC file, and finally update the file with Source:
? SOURCE ~/.ZSHRC
On-my-zsh pretty shell.