Skip to content

Instantly share code, notes, and snippets.

@hardyscc
Last active July 17, 2025 17:06
Show Gist options
  • Select an option

  • Save hardyscc/f0eaee11c53caf1e86cdc07a92031dc1 to your computer and use it in GitHub Desktop.

Select an option

Save hardyscc/f0eaee11c53caf1e86cdc07a92031dc1 to your computer and use it in GitHub Desktop.
Oh My Zsh

Install

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions
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
git clone https://github.com/zsh-users/zsh-completions $ZSH_CUSTOM/plugins/zsh-completions

Update ~/.zshrc

-plugins=(git)

+plugins=(git zsh-autosuggestions zsh-syntax-highlighting zsh-history-substring-search)
+fpath+=${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions/src
+autoload -U compinit && compinit

source $ZSH/oh-my-zsh.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment