- Install oh-my-zsh
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
- Clone necessary plugins.
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions 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-syntax-highlighting.git ${ZSH_CUSTOM}/plugins/zsh-syntax-highlighting
- Add plugins to
~/.zshrc
asNote: make sureplugins = ( [plugins...] zsh-autosuggestions history-substring-search zsh-syntax-highlighting)
zsh-syntax-highlighting
is the last one in the above list. - Fix background theme issues (Not necessary depends on your theme), in
.zshrc
, beforesource $ZSH/oh-my-zsh.sh
.ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=#969896' # Follow fish config
- Restart zsh
-
-
Save zhaiyusci/3b5a84765a52acc26424446ba6efeccb to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment