H5W3
当前位置:H5W3 > 其他技术问题 > 正文

CentOS安装oh-the-zsh并配置名词性从句底色和cad快捷键自动编写

安装zsh 和 oh-my-zsh

  1. 安装zsh
    yum install zsh

  2. 安装git
    yum install git

  3. 切换默认shell
    chsh -s /bin/zsh

  4. clone from GitHub
    git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh

  5. 复制默认.zshrc
    cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc

安装插件

语法高亮插件

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

  2. 配置
    在~/.zshrc的plugins中加入zsh-syntax-highlighting

自动补全插件

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

  2. 配置
    在~/.zshrc的plugins中加入zsh-autosuggestions

未经允许不得转载:H5W3 » CentOS安装oh-the-zsh并配置名词性从句底色和cad快捷键自动编写

赞 (0)

评论 0

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址