Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
1. Install oh-my-zsh
sh -c "$(wget -O -)"
2. Clone necessary plugins.
git clone git:// $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search
git clone ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
3. Add plugins to ~/.zshrc as
plugins = ( [plugins...] zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting)
Note: make sure zsh-syntax-highlighting is the last one in the above list.
4. Fix background theme issues (Not necessary depends on your theme)
5. Restart zsh
source ~/.zshrc
Copy link

VimalMollyn commented Apr 10, 2021

Line number 10 doesn't seem to work (macOS 11). I added the plugins manually. Thanks though!

Copy link

fish895623 commented Jun 7, 2021

Line 10 "zsh-history-substring-search" should change to "history-substring-search"

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