zsh/config/zsh/zplug

29 lines
890 B
Bash

#! zsh
export ZPLUG_HOME=$XDG_CACHE_HOME/zplug
if [[ ! -f $ZPLUG_HOME/repos/zplug/zplug/init.zsh ]]; then
git clone https://github.com/zplug/zplug $ZPLUG_HOME/repos/zplug/zplug
fi
source $ZPLUG_HOME/repos/zplug/zplug/init.zsh
zplug zplug/zplug
zplug willghatch/zsh-saneopt
zplug bobthecow/git-flow-completion
zplug mafredri/zsh-async
zplug micha/resty
zplug rupa/z, use:z.sh
zplug sharat87/zsh-vim-mode
zplug sindresorhus/pure
zplug supercrabtree/k
zplug zsh-users/zsh-syntax-highlighting, nice:10
zplug zsh-users/zsh-completions, nice:11
zplug zsh-users/zsh-history-substring-search, nice:9
zplug trapd00r/LS_COLORS, hook-load:apply-trapd00r-colors
apply-trapd00r-colors() {
eval $(dircolors -b $ZPLUG_REPOS/trapd00r/LS_COLORS/LS_COLORS)
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
}
zplug $ZDOTDIR/interactive/\*, from:local
zplug check || zplug install
zplug load