什麼是Shell?
Shell是一種交互指令的介面
其实 zsh 也是一种 shell ,但是并不是我们系统默认的 shell ,unix 衍生系统的默认shell 都是 bash
Shell有好幾種,蘋果Mac系統預設是使用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
這兩個oh-my-zsh樣式不錯
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