diff options
author | Alan Pearce | 2017-01-17 12:01:56 +0100 |
---|---|---|
committer | Alan Pearce | 2017-01-17 12:01:56 +0100 |
commit | deab2de981f236450b9c397c5eef7ed665eb6744 (patch) | |
tree | d0998c9eb6df49abc6c212a163940591008f0919 /tag-zsh | |
parent | 173f06c9e467bd332754a73299c589b6fa17f664 (diff) | |
download | nixfiles-deab2de981f236450b9c397c5eef7ed665eb6744.tar.lz nixfiles-deab2de981f236450b9c397c5eef7ed665eb6744.tar.zst nixfiles-deab2de981f236450b9c397c5eef7ed665eb6744.zip |
zsh: Don’t run compinit as zplug handles it
Diffstat (limited to 'tag-zsh')
-rw-r--r-- | tag-zsh/config/zsh/zshrc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 1d37e8ea..6ca27689 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -1,7 +1,7 @@ # -*- mode: sh; -*- source $ZPLUG_HOME/init.zsh -zplug "zsh-users/zsh-completions" +zplug "zsh-users/zsh-completions", depth:1, defer:0 zplug "Tarrasch/zsh-autoenv", as:plugin zplug "clvv/fasd", hook-build:"PREFIX=$HOME make install" zplug "caarlos0/zsh-open-pr", as:plugin @@ -143,11 +143,6 @@ zplug load # General configuration setopt auto_cd # Change directories without `cd` -if zplug check zsh-users/zsh-completions -then - autoload -U compinit && compinit -fi - if [[ -n $commands[hub] ]] then alias git=hub |