Skip to content

Instantly share code, notes, and snippets.

@shengyou
Created January 18, 2018 10:18
Show Gist options
  • Save shengyou/29668c5922a046f70caa62da9bb4f920 to your computer and use it in GitHub Desktop.
Save shengyou/29668c5922a046f70caa62da9bb4f920 to your computer and use it in GitHub Desktop.
if ! zplug check --verbose; then
printf "Install? [y/N]: "
if read -q; then
echo; zplug install
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment