Skip to content

Instantly share code, notes, and snippets.

@rs9899
Created August 30, 2020 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rs9899/8eafbf5f218b71dda56742b052198e75 to your computer and use it in GitHub Desktop.
Save rs9899/8eafbf5f218b71dda56742b052198e75 to your computer and use it in GitHub Desktop.
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