summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2018-12-19 21:00:11 +0100
committerAlan Pearce2018-12-19 21:00:11 +0100
commit0adba04d6f6c57246b6262d01e0af90e289dedf3 (patch)
treef244d1e2cc5c0e52a117cc81f204a6362913d12f
parent025158e41a21a8d17346a5825258e0893093b492 (diff)
downloadnixfiles-0adba04d6f6c57246b6262d01e0af90e289dedf3.tar.lz
nixfiles-0adba04d6f6c57246b6262d01e0af90e289dedf3.tar.zst
nixfiles-0adba04d6f6c57246b6262d01e0af90e289dedf3.zip
zsh: Update zplugin init code
-rw-r--r--zsh/.config/zsh/.zshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc
index 1e187e69..c4907018 100644
--- a/zsh/.config/zsh/.zshrc
+++ b/zsh/.config/zsh/.zshrc
@@ -1,5 +1,7 @@
 # -*- mode: sh; -*-
 source $HOME/.zplugin/bin/zplugin.zsh
+autoload -Uz _zplugin
+(( ${+_comps} )) && _comps[zplugin]=_zplugin
 
 HISTSIZE=10000
 SAVEHIST=20000