Configure oh my zsh

发布时间 2023-10-03 20:53:22作者: 蜡笔小旧
  1. apt install zsh
  2. sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

REF: https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH

 

pugins:

git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete
nano ~/.zshrc

plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting zsh-autocomplete)

source ~/.zshrc

 

REF: https://gist.github.com/n1snt/454b879b8f0b7995740ae04c5fb5b7df

 

theme

ZSH_THEME="af-magic"