35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
#! zsh
|
|
typeset -A ZPLGM
|
|
ZPLG_HOME=$XDG_CACHE_HOME/zsh/zplugin
|
|
ZPLGM[HOME_DIR]=$ZPLG_HOME
|
|
ZPLGM[ZCOMPDUMP_PATH]=$XDG_CACHE_HOME/zsh/zcompdump
|
|
|
|
if [[ ! -f $ZPLG_HOME/bin/zplugin.zsh ]]; then
|
|
git clone https://github.com/psprint/zplugin $ZPLG_HOME/bin
|
|
zcompile $ZPLG_HOME/bin/zplugin.zsh
|
|
fi
|
|
source $ZPLG_HOME/bin/zplugin.zsh
|
|
load=light
|
|
|
|
zplugin $load willghatch/zsh-saneopt
|
|
|
|
zplugin $load mafredri/zsh-async
|
|
zplugin $load rupa/z
|
|
zplugin $load sindresorhus/pure
|
|
|
|
# We have to zcompile c.zsh manually because pick-ice apparently runs before
|
|
# atclone-ice during installation, and so can't find c.zsh to compile it.
|
|
zplugin ice pick:c.zsh atpull:%atclone atclone:'dircolors -b LS_COLORS > c.zsh && zcompile c.zsh'
|
|
zplugin $load trapd00r/LS_COLORS
|
|
|
|
zplugin ice silent wait:1 atload:_zsh_autosuggest_start
|
|
zplugin $load zsh-users/zsh-autosuggestions
|
|
|
|
zplugin ice blockf; zplugin $load zsh-users/zsh-completions
|
|
|
|
zplugin ice silent wait:1; zplugin $load mollifier/cd-gitroot
|
|
zplugin ice silent wait:1; zplugin $load micha/resty
|
|
zplugin ice silent wait:1; zplugin $load supercrabtree/k
|
|
|
|
zplugin ice silent wait!1; zplugin $load zdharma/fast-syntax-highlighting
|