What is zsh zsh and bash, is a kind of unix shell, However, most Linux distributions use Bash shell by default. But Zsh has powerful auto-completion parameters, filenames, and other features and powerful custom configuration features. The bashzsh of Mac replacement is powerful, but just getting started is cumbersome. Don't worry, GitHub already has an open source project Oh-my-zsh. It is easy to install according to the official documentation. First, use curl to automatically install curl -l https://github.com/robbyrussell/ Oh-my-zsh/raw/master/tools/install.sh | sh Second, manual installation of 1. Using the git clone project git clone git://github.com/robbyrussell/ Oh-my-zsh.git ~/.oh-my-zsh 2. Backing up ~/.ZSHRC files cp ~/.zshrc ~/.zshrc.orig 3. Creating a new zsh configuration file cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc 4. Set zsh as the default shell chsh -s /bin/zsh 5. Restart terminal or create a new terminal to see the effect next configuration forZsh yourself into the theme folder view all themes, # cd ~/.oh-my-zsh/themes Edit configuration # vi ~/.zshrc ---------------------# time that oh-my-zsh is loaded. Zsh_theme= "Tonotdo"------------------------ 1. Theme modification, I prefer the front is the $ symbol, so chose Tonotdo this theme Zsh_ Theme= "Junkfood" Effect: # ( 12/19/[email protected] 9:05 morning ) ( [email protected] ) : ~/workspace/[email protected]ys# cheenwe at works in ~/workspace/zhihe on &NBSP;GIT:7-CHANGE-12.17&NBSP;O&NBSP;[9:07:30] $ZSH _theme= "jtriley9:08 [email protected] /home/ Cheenwe/workspace/zhihe%zsh_theme= "Xiong-chiamiov" ┌─[[email protected]] - [~/workspace/zhihe] - [five 12 month 19, 09:09]└─[$]> zsh_theme= "Xiong-chiamiov-plus" ┌─[[email protected]] - [~/workspace/zhihe] - [Five 12 month 19, 09:09]└─[$] <git: (7- change-12.17) > zsh_theme= "Josh" [Email protected] /home/cheenwe/workspace/zhihe (ruby-2.1.5) 7- Change-12.17 zsh_theme= "Jonathan" ┌─ (~/workspace/zhihe) (ruby-2.1.5) ────────────────────── ([email Protected]:p TS/17) ─┐└─ (09:12:08 on 7-change-12.17) ──> zsh_theme= "Wedisagree" [ zhihe] 9:13:51 7-change-12.17 zsh_ Theme= "Tonotdo" Cheenwe~/workspace/zhihe (7-change-12.17) [9:15:28]3den kafeituadben kardanaf-magic kennethreitzafowler kiwiagnoster koloalanpeabody kphoenamuse lambdaapple linuxonlyarrow lukerandallaussiegeek macovsky-rubyavit macovskyawesomepanda maranbira mgutzblinks mhbureau michelebolognacandy-kingdom mikehcandy miloshadzicclean minimalcloud mortalscumbagcrcandy mrtazzcrunch murilassocypher musedallas nanotechdarkblood nebirhosdaveverwer nicoulajdieter normdogenpunk obraundpoggi peepcodedstufft philipsdst pmcgeeduellj &nbSp; pure
Oh my zsh effects