Created
June 17, 2020 05:47
-
-
Save xush6528/1fca75b2f386fe8150e40c364b8f6277 to your computer and use it in GitHub Desktop.
This file contains 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
# oh-my-zsh | |
#### Change login shell | |
``` | |
sudo chsh -s /bin/zsh | |
``` | |
Reference the instructions on https://github.com/robbyrussell/oh-my-zsh. | |
#### Mac instructions: | |
Install oh-my-zsh. | |
``` | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
``` | |
Open `.zshrc` | |
``` | |
vim ~/.zshrc | |
``` | |
Install your favorite `oh-my-zsh` plugins. | |
E.g. | |
``` | |
# zsh-syntax-highlighting | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
# zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions | |
``` | |
Enable `oh-my-zsh` plugins. | |
Open `.zshrc` | |
``` | |
vim ~/.zshrc | |
``` | |
Add to plugins field. | |
``` | |
plugins=( | |
git | |
z | |
zsh-syntax-highlighting | |
zsh-autosuggestions | |
) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment