Apps|oh-my-zsh插件推荐及安装教程

插件

  1. autojump:实现目录间快速跳转,想去哪个目录直接 j + 目录名 ,不用在频繁的 cd 了!!
  2. autosuggestion:输入命令时可提示自动补全(灰色部分),然后按键盘 → 即可补全。
  3. syntax-highlighting:日常用的命令会高亮显示,命令错误显示红色。
# 下载插件,如果网络不行可以在gitee上搜索项目替换地址 git clone git://github.com/joelthelion/autojump.git${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/autojumpgit clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestionsgit clone https://gitee.com/mancuojie/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting# 执行指令 cd $ZSH_CUSTOM/plugins/autojump ./install.py

vim ~/.zshrc# 修改以下部分 plugins=(zsh-autosuggestions git zsh-syntax-highlighting autojump ) # autojump [[ -s ~/.autojump/etc/profile.d/autojump.sh ]] && . ~/.autojump/etc/profile.d/autojump.sh

【Apps|oh-my-zsh插件推荐及安装教程】Apps|oh-my-zsh插件推荐及安装教程
文章图片

    推荐阅读