diff options
Diffstat (limited to '.zplugrc')
-rwxr-xr-x | .zplugrc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.zplugrc b/.zplugrc new file mode 100755 index 0000000..ca5358a --- /dev/null +++ b/.zplugrc @@ -0,0 +1,23 @@ +#!/usr/bin/env zsh + +export ZPLUG_HOME=$HOME/.zplug + +if [ ! -d $ZPLUG_HOME ]; then + echo 'Installing zplug ... ' + git clone https://github.com/zplug/zplug.git $ZPLUG_HOME +fi +source $ZPLUG_HOME/init.zsh + +zplug "plugins/git", from:oh-my-zsh +zplug "zsh-users/zsh-completions" +zplug "zsh-users/zsh-syntax-highlighting" +zplug "dracula/zsh", as:theme + +if ! zplug check --verbose; then + printf "Install? [y/N]: " + if read -q; then + echo; zplug install + fi +fi + +zplug load |