安装zsh

  • Ubuntu/Debian

    apt install zsh
  • CentOS

    yum install zsh

安装oh-my-zsh

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

zsh插件

auto-suggestions

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

zsh-syntax-highligh

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

zsh-history-substring-search

git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
End

本文标题:一些常用的zsh插件

本文链接:https://atxrom.com/archives/3/

除非另有说明,本作品遵循CC 4.0 BY-NC-SA 4.0

声明:转载请注明文章来源。

如果觉得我的文章对你有用,请随意赞赏