summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-01-17 12:01:56 +0100
committerAlan Pearce2017-01-17 12:01:56 +0100
commitdeab2de981f236450b9c397c5eef7ed665eb6744 (patch)
treed0998c9eb6df49abc6c212a163940591008f0919
parent173f06c9e467bd332754a73299c589b6fa17f664 (diff)
downloaddotfiles-deab2de981f236450b9c397c5eef7ed665eb6744.tar.lz
dotfiles-deab2de981f236450b9c397c5eef7ed665eb6744.tar.zst
dotfiles-deab2de981f236450b9c397c5eef7ed665eb6744.zip
zsh: Don’t run compinit as zplug handles it
-rw-r--r--tag-zsh/config/zsh/zshrc7
1 files changed, 1 insertions, 6 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 1d37e8e..6ca2768 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