Making Mac Terminal Awesome: Oh my zsh, syntax-highlighting, Auto-suggestions
Install Oh-My-Zsh using Curl:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"NOTE:andZSHboth are different.OhMyZsh
Let’s take a look at how to install plugins, and configure Zsh:
Install zsh-autosuggestions by running:
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestionsInstall zsh-syntax-highlighting by running:
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlightingNow, open
.zshrcfile with your favorite editor.
nano ~/.zshrcAnd simply add
zsh-autosuggestions&
zsh-syntax-highlightingto
plugins()section, it will do the magic for you:
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)Reopen terminal to reconfigure the settings and Voila

Comments
Post a Comment