Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jaredmcqueen/60c6575957f4ee4ccb20e8915d4a28b4 to your computer and use it in GitHub Desktop.
Save jaredmcqueen/60c6575957f4ee4ccb20e8915d4a28b4 to your computer and use it in GitHub Desktop.

how to add plugins to oh-my-zsh

Install with curl

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

Install underylying CLI tools

brew install autojump

Enabling Plugins

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

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

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

git clone https://github.com/zsh-users/zsh-history-substring-search $ZSH_CUSTOM/plugins/zsh-history-substring-search

Modify ~/.zshrc

vi ~/.zshrc

plugins=(git autojump zsh-autosuggestions zsh-syntax-highlighting zsh-completions history-substring-search)

Ref

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