Skip to content

Instantly share code, notes, and snippets.

@vmiheer
Last active October 29, 2020 22:02
Show Gist options
  • Save vmiheer/607a88184b7c5787e53fa553d42f8b13 to your computer and use it in GitHub Desktop.
Save vmiheer/607a88184b7c5787e53fa553d42f8b13 to your computer and use it in GitHub Desktop.
My zsh setup
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
cp ~/.zshrc ~/.zshrc.back.mv
# https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md
git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# https://github.com/zsh-users/zsh-completions
git clone --depth=1 https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions
sed -r -i 's/^plugins=.*/plugins=(git fasd virtualenvwrapper zsh-autosuggestions per-directory-history zsh-completions)/g' ~/.zshrc
source ~/.zshrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment