Created
November 24, 2017 12:02
-
-
Save abhigenie92/a907cdf8a474aa6b569ebe89aeee560d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. Install oh-my-zsh | |
| sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" | |
| 2. Clone necessary plugins. | |
| git clone git://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions | |
| git clone https://github.com/zsh-users/zsh-history-substring-search ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-history-substring-search | |
| git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${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) | |
| ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=white' | |
| 5. Restart zsh | |
| source ~/.zshrc |
Got the issue:
zsh: unknown file attributeat Line 10:plugins = ( [plugins...] zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting).
Look at the comment above. It should be https:// and not git://
Got the issue:
zsh: unknown file attributeat Line 10:plugins = ( [plugins...] zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting).Look at the comment above. It should be
https://and notgit://
@abhigenie92 When people help you you should update your snippet. Also lost now 5 minutes because of this typo ;)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got the issue:
zsh: unknown file attributeat Line 10:plugins = ( [plugins...] zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting).