all repos — nixfiles @ 4f7594602d15923f8b43fa3e74e3f904528f0053

System and user configuration, managed by nix and home-manager

zsh: optimise zplugin startup

Alan Pearce
commit

4f7594602d15923f8b43fa3e74e3f904528f0053

parent

897d0de3af84ff0e608cfab1ef8a5ac7659a0a7f

1 file changed, 9 insertions(+), 12 deletions(-)

jump to
M zsh/.config/zsh/.zshrczsh/.config/zsh/.zshrc
@@ -125,12 +125,13 @@
# Plugins zplugin ice blockf -zplugin load "zsh-users/zsh-completions" -zplugin load "hlissner/zsh-autopair" -zplugin load "zdharma/fast-syntax-highlighting" +zplugin light "zsh-users/zsh-completions" +zplugin light "hlissner/zsh-autopair" +zplugin ice wait'1' lucid +zplugin light "zdharma/fast-syntax-highlighting" zplugin load "caarlos0/zsh-open-pr" zplugin ice blockf -zplugin load "mollifier/anyframe" +zplugin light "mollifier/anyframe" zplugin snippet "https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/functions.zsh" zplugin snippet "https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/termsupport.zsh"
@@ -142,7 +143,7 @@ fi
if [[ -n $commands[npm] ]] then - zplugin load "lukechilds/zsh-better-npm-completion" + zplugin light "lukechilds/zsh-better-npm-completion" fi if [[ -n $commands[yarn] ]]
@@ -152,19 +153,15 @@ fi
if [[ -n $commands[nix-env] ]] then - zplugin load "spwhitt/nix-zsh-completions" + zplugin light "spwhitt/nix-zsh-completions" fi if [[ -n $commands[ghq] ]] then - zplugin load "${GOPATH:=$HOME/go}/src/github.com/motemen/ghq/zsh/" + zplugin light "${GOPATH:=$HOME/go}/src/github.com/motemen/ghq/zsh" fi -autoload -Uz compinit -compinit - -zplugin cdreplay -q - +zplugin ice atinit 'zpcompinit; zpcdreplay -q' # General configuration