您当前的位置: 首页 >  linux

liaowenxiong

暂无认证

  • 1浏览

    0关注

    1171博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

远程Linux主机安装zsh插件zsh-syntax-highlighting

liaowenxiong 发布时间:2021-11-02 13:42:29 ,浏览量:1

安装说明: https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md

根据安装说明:

1.Clone this repository in oh-my-zsh’s plugins directory:

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

2.Activate the plugin in ~/.zshrc

plugins=( [plugins...] zsh-syntax-highlighting)

3.Restart zsh (such as by opening a new instance of your terminal emulator).

并没有要求在 ~/.zshrc 中写入以下这句命令语句:

source /root/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
关注
打赏
1661566967
查看更多评论
立即登录/注册

微信扫码登录

0.1632s