Taula de continguts

ZSH install

install

install inicial

The function will not be run in future, but you can run it yourself as follows:

  autoload -Uz zsh-newuser-install
  zsh-newuser-install -f

plugins

; ~/.zshrc
ZSH_THEME="agnoster"
plugins=( git colored-man-pages colorize zsh-syntax-highlighting vagrant zsh-autosuggestions timer )

syntax highlighting

sudo apt-get install -y zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM}/plugins/zsh-syntax-highlighting

autosuggestions

git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions