Skip to content

Instantly share code, notes, and snippets.

@bbouille
Created January 4, 2018 10:52
Show Gist options
  • Save bbouille/2a6764ad1a6ecc4c3a13f8207f7883dd to your computer and use it in GitHub Desktop.
Save bbouille/2a6764ad1a6ecc4c3a13f8207f7883dd to your computer and use it in GitHub Desktop.
Set oh-my-sh from scratch
#install zsh
sudo apt-get update
sudo apt-get install curl zsh git
#install oh-my-zsh with auto-suggest, syntax-highlighting plugins
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone git://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
vi ~/.zshrc
ZSH_THEME="kennethreitz"
plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment