Created
May 26, 2017 15:37
-
-
Save ktrysmt/3c6f32105e450180bd1fdaa186707fcf to your computer and use it in GitHub Desktop.
using zplug in zsh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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