Skip to content

Instantly share code, notes, and snippets.

@ktrysmt
Created May 26, 2017 15:37
Show Gist options
  • Save ktrysmt/3c6f32105e450180bd1fdaa186707fcf to your computer and use it in GitHub Desktop.
Save ktrysmt/3c6f32105e450180bd1fdaa186707fcf 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