sudo apt install zsh
#install ohmyzsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
#instal theme
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k
#Edit the ./zshrc file and set the theme to powerlevel9k
ZSH_THEME="powerlevel9k/powerlevel9k"
#Installing Powerline fonts
sudo apt install fonts-powerline
zsh使用
- 使用scp 指令时使用用于匹配的号,会出现错误,原因是zsh自己解析了号,所以,只要给*加上就可以了\
scp \*.jpg