Created
August 30, 2020 12:34
-
-
Save rs9899/8eafbf5f218b71dda56742b052198e75 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
sudo apt install zsh | |
## This needs sudo password, so if not available, add a command "zsh" at the end of your .bashrc file | |
chsh -s /usr/local/bin/zsh | |
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting | |
## in .zshrc file, add | |
plugins=( | |
git | |
zsh-syntax-highlighting | |
zsh-autosuggestions | |
) | |
# replacing plugins=(git) | |
# Set name of the theme to load --- if set to "random", it will | |
# load a random theme each time oh-my-zsh is loaded, in which case, | |
# to know which specific one was loaded, run: echo $RANDOM_THEME | |
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes | |
ZSH_THEME="af-magic" # my-current-fav, needs no extra font or chars |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment