安装zsh
sudo apt-get install zsh
将默认 shell 改成 zsh
chsh -s /bin/zsh
安装 oh my zsh
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
安装extract
vim ~/.zshrc
plugins=(extract)
安装autojump
sudo apt-get install autojump
vim ~/.zshrc
plugins=(extract autojump)
安装 zsh-autosuggestions 插件
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
编辑~/.zshrc 文件
vim ~/.zshrc
plugins=(extract autojump zsh-autosuggestions)
安装 zsh-syntax-highlighting 插件
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
编辑~/.zshrc 文件
vim ~/.zshrc
plugins=(extract autojump zsh-autosuggestions zsh-syntax-highlighting)
source ~/.zshrc
评论区