Skip to content

Instantly share code, notes, and snippets.

@shoemoney
Forked from ktrysmt/.zshrc
Created December 27, 2020 02:02
Show Gist options
  • Select an option

  • Save shoemoney/1540e72bd6a5b941760c2e0a2ed1b677 to your computer and use it in GitHub Desktop.

Select an option

Save shoemoney/1540e72bd6a5b941760c2e0a2ed1b677 to your computer and use it in GitHub Desktop.
using zplug in zsh
if [[ ! -d ~/.zplug ]];then
git clone https://github.com/zplug/zplug ~/.zplug
fi
source ~/.zplug/init.zsh
zplug "plugins/git", from:oh-my-zsh
zplug "plugins/git", from:oh-my-zsh
zplug "plugins/sudo", from:oh-my-zsh
zplug "plugins/command-not-found", from:oh-my-zsh
zplug "zsh-users/zsh-syntax-highlighting"
zplug "zsh-users/zsh-history-substring-search"
zplug "zsh-users/zsh-completions"
zplug "themes/robbyrussell", from:oh-my-zsh, as:theme
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo; zplug install
fi
fi
zplug load --verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment