Skip to content

Instantly share code, notes, and snippets.

@eewee
Created June 21, 2020 18:16
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eewee/fed0831205fad9caec669274417732d0 to your computer and use it in GitHub Desktop.
Save eewee/fed0831205fad9caec669274417732d0 to your computer and use it in GitHub Desktop.
ZSH + Autocompletion + Highlighting

Oh my zsh (autocompletion + highlighting)

Installation en utilisant curl

sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Installer les plugins "zsh-autosuggestions" et "zsh-syntax-highlighting"

  • Ce placer dans le dossier .oh-my-zsh/custom/plugins/

  • Cloner le repository zsh-autosuggestions :

git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
  • Cloner le repository zsh-syntax-highlighting :
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
  • Editer ~/.zshrc

  • Trouver plugins=(git)

  • Changer par : plugins=(git zsh-autosuggestions zsh-syntax-highlighting)

  • Fermer votre terminal

  • Ouvrer votre terminal

Ref

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment