当前位置:   article > 正文

安装oh-my-zsh+、插件zsh-syntax-highlighting、zsh-autosuggestions、zsh-autosuggestions、autojump修改配置_[oh-my-zsh] plugin 'zsh-syntax-highlighting' not f

[oh-my-zsh] plugin 'zsh-syntax-highlighting' not found

1. Mac 的 shell

1.1 查看 Mac 上已有的 shell

➜  ~ cat /etc/shells
# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.
/bin/bash
/bin/csh
/bin/dash
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

1.2 查看mac默认的shell

➜  ~ echo $SHELL
/bin/zsh
  • 1
  • 2

1.3 将默认 shell 改成 zsh

➜ ~ chsh -s /bin/zsh
  • 1

2. 安装zsh以及插件

2.1 安装oh-my-zsh
https://github.com/ohmyzsh/ohmyzsh/

// git clone
➜ ~ git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
// curl安装
➜ ~ sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
// wget安装
➜ ~ sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

2.2 安装插件zsh-syntax-highlighting

➜  ~ git clone https
    声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/空白诗007/article/detail/759446
    推荐阅读
    相关标签
      

    闽ICP备14008679号