zsh

安装

sudo apt update
sudo apt install git zsh -y
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

主题

进入~/.zshrc文件修改ZSH_THEME

ZSH_THEME="agnoster"

插件

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

安装完成后需要修改.zshrc文件

 plugins=(
      git
      zsh-autosuggestions
      zsh-syntax-highlighting
 )
posted @ 2022-07-28 20:12  hyserendipity  阅读(153)  评论(0编辑  收藏  举报