安装 zsh
1 | sudo apt-get install zsh |
oh-my-zsh:
摘自:
https://github.com/robbyrussell/oh-my-zsh
1 | sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" |
命令高亮
摘自:
https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md
1 | git clone https://github.com/zsh-users/zsh-syntax-highlighting.git |
可以设置默认sh
1 | sudo chsh -s /bin/zsh |