oh-my-zsh相关配置
安装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
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
安装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
git clone https://gitee.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
git clone https://gitee.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
本文采用 CC BY-NC-ND 4.0 协议,完整转载请注明来自 smallkun
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果