summaryrefslogtreecommitdiff
path: root/debian/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'debian/zshrc')
-rw-r--r--debian/zshrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/zshrc b/debian/zshrc
index 45aebde31..54681368e 100644
--- a/debian/zshrc
+++ b/debian/zshrc
@@ -102,3 +102,11 @@ zstyle ':completion:*:sudo:*' command-path /usr/local/sbin \
(( ${+aliases[run-help]} )) && unalias run-help
autoload -Uz run-help
+
+# If you don't want compinit called here, place the line
+# skip_global_compinit=1
+# in your $ZDOTDIR/.zshenv or $ZDOTDIR/.zprofile
+if [[ -z "$skip_global_compinit" ]]; then
+ autoload -U compinit
+ compinit
+fi