diff --git a/.gitmodules b/.gitmodules index 3a824c8..9b773d6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "zsh/antigen"] - path = zsh/antigen - url = https://github.com/zsh-users/antigen.git +[submodule "zsh/zplug"] + path = zsh/zplug + url = https://github.com/zplug/zplug.git diff --git a/zsh/antigen b/zsh/antigen deleted file mode 160000 index 58ebc55..0000000 --- a/zsh/antigen +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 58ebc559ff8fe29473d91dc5867d9ccb9d410359 diff --git a/zsh/zplug b/zsh/zplug new file mode 160000 index 0000000..06c6f33 --- /dev/null +++ b/zsh/zplug @@ -0,0 +1 @@ +Subproject commit 06c6f33bf1543f30d26835867fb73d599e060d04 diff --git a/zsh/zshrc b/zsh/zshrc index c384204..a68fa25 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -14,17 +14,19 @@ fpath=( typeset -gU fpath # -# Use Antigen +# Use zplug # -if [[ -s "$DOTFILES/zsh/antigen/antigen.zsh" ]]; then - source "$DOTFILES/zsh/antigen/antigen.zsh" +export ZPLUG_HOME=$DOTFILES/zsh/zplug +if [[ -s "$ZPLUG_HOME/init.zsh" ]]; then + source "$ZPLUG_HOME/init.zsh" - antigen use prezto + zplug "sorin-ionescu/prezto", as:plugin, use:init.zsh - antigen bundle nojhan/liquidprompt + zplug "nojhan/liquidprompt", as:plugin - antigen apply + zplug check || zplug install + zplug load fi