diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2020-02-16 17:44:26 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2020-02-16 17:58:42 +0100 |
commit | 1424bad894300680a6e180878ca4de2f6edfc946 (patch) | |
tree | 7f47f4afc20335d1300ed68e695718c996b2e2d3 /debian/zshrc | |
parent | c7b64d0b57bd904279b7d17452e0ba553c0009c6 (diff) | |
download | zsh-1424bad894300680a6e180878ca4de2f6edfc946.tar.gz zsh-1424bad894300680a6e180878ca4de2f6edfc946.zip |
debian/zshrc: Enable completions only on Ubuntu and derivatives by default
Diffstat (limited to 'debian/zshrc')
-rw-r--r-- | debian/zshrc | 2 |
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 |