summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/zshrc b/debian/zshrc
index 54681368e..e184b6a6b 100644
--- a/debian/zshrc
+++ b/debian/zshrc
@@ -106,7 +106,7 @@ 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
+if grep -q 'ID.*=.*ubuntu' /etc/os-release && [[ -z "$skip_global_compinit" ]]; then
autoload -U compinit
compinit
fi