Skip to content

ohmyzsh 安装

参考

https://github.com/ohmyzsh/ohmyzsh

插件参考

https://github.com/ohmyzsh/ohmyzsh/wiki/Plugins
  • 第三方插件

1.zsh-autosuggestions 自动补全插件

git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

2.高亮

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting

3.autojump

sudo apt-get install autojump
  • 我的插件配置
plugins=(
        git
        z
        autojump
        zsh-autosuggestions
        zsh-syntax-highlighting
        sudo
)

主题参考

https://github.com/ohmyzsh/ohmyzsh/wiki/Themes

第三方主题参考

powerlevel10k

https://github.com/romkatv/powerlevel10k

Comments