Skip to content

Instantly share code, notes, and snippets.

@amrutprabhu
Last active September 5, 2024 15:08
Show Gist options
  • Save amrutprabhu/0969a3dff8d7140e0fd8d42f0331d703 to your computer and use it in GitHub Desktop.
Save amrutprabhu/0969a3dff8d7140e0fd8d42f0331d703 to your computer and use it in GitHub Desktop.
Configure autocompletion/ autosuggestions like fish shell for zsh
  1. clone zsh-autosuggestion in custom plugins location
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions

(optional) if you want syntax highlighting like fish shell. clone zsh-syntax-highlighting to custom plugins location.

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

auto completion

git clone https://github.com/zsh-users/zsh-completions.git $ZSH_CUSTOM/plugins/zsh-completions
  1. Update ~/.zshrc with the custom plugins you just cloned in the previous steps. from
plugins=(git)

to

plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
@mariluski
Copy link

thanks

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