什麼是Shell?
Shell是一種交互指令的介面
其實(shí) zsh 也是一種 shell ,但是并不是我們系統(tǒng)默認(rèn)的 shell ,unix 衍生系統(tǒng)的默認(rèn)shell 都是 bash
Shell有好幾種绵跷,蘋果Mac系統(tǒng)預(yù)設(shè)是使用bash屁倔。所以可以直接切換成zsh不用安裝oh-my-zsh率碾。
/bin/bash
/bin/csh
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
sudo sh -c "echo $(which zsh) >> /etc/shells"
chsh -s $(which zsh)
cat?/etc/shells
vim ~/.z
oh-my-zsh
不用裝iTerms 2
oh-my-zsh的操作介面目錄提示樣式
https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
oh-my-zsh主題讀取的目錄路徑
/Users/huyy01/.oh-my-zsh/custom/themes
這兩個(gè)oh-my-zsh樣式不錯(cuò)
https://github.com/jeremyFreeAgent/oh-my-zsh-powerline-theme
https://github.com/caiogondim/bullet-train.zsh
https://github.com/bhilburn/powerlevel9k/wiki/Install-Instructions#step-1-install-powerlevel9k