Skip to content

Instantly share code, notes, and snippets.

@jmahc
Last active December 5, 2018 18:40
Show Gist options
  • Save jmahc/44a4ce28b463cd1302eef5d13c38f2c8 to your computer and use it in GitHub Desktop.
Save jmahc/44a4ce28b463cd1302eef5d13c38f2c8 to your computer and use it in GitHub Desktop.
jmahc's oh-my-zsh plugins
plugins+=(
# ...other plugins
zsh-autosuggestions
zsh-better-npm-completion
zsh-nvm
zsh-syntax-highlighting
)

Oh-my-zsh Plugins

  • zsh-autosuggestions
    • git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
  • zsh-better-npm-completion
    • git clone https://github.com/lukechilds/zsh-better-npm-completion.git ~/.oh-my-zsh/custom/plugins/zsh-better-npm-completion
  • zsh-nvm
    • git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm
  • zsh-syntax-highlighting
    • git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

Single Install Script

git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions && git clone https://github.com/lukechilds/zsh-better-npm-completion.git ~/.oh-my-zsh/custom/plugins/zsh-better-npm-completion && git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting

Update .zshrc

Usually located at ~/.zshrc, update the plugins section:

plugins+=(
  ...other plugins
  zsh-autosuggestions
  zsh-better-npm-completion
  zsh-nvm
  zsh-syntax-highlighting
)
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions && git clone https://github.com/lukechilds/zsh-better-npm-completion.git ~/.oh-my-zsh/custom/plugins/zsh-better-npm-completion && git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm && git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment