diff options
-rw-r--r-- | debian/zshrc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/zshrc b/debian/zshrc index 3fb974897..194f63699 100644 --- a/debian/zshrc +++ b/debian/zshrc @@ -106,7 +106,8 @@ autoload -Uz run-help # If you don't want compinit called here, place the line # skip_global_compinit=1 # in your $ZDOTDIR/.zshenv -if grep -q '^ID.*=.*ubuntu' /etc/os-release && [[ -z "$skip_global_compinit" ]]; then +if (( ${${(@f)"$(</etc/os-release)"}[(I)ID*=*ubuntu]} )) && + [[ -z "$skip_global_compinit" ]]; then autoload -U compinit compinit fi |