diff options
author | Daniel Shahaf <danielsh@apache.org> | 2020-02-17 10:38:06 +0000 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2020-02-17 13:41:05 +0100 |
commit | b43af98a75ab4841ca0cd60433826d057e08143d (patch) | |
tree | 2e8be7e90aa540b497eede4fed12659ecaecb885 | |
parent | dae9b60216bdde37f4e34989d0175e67ac6f2d61 (diff) | |
download | zsh-b43af98a75ab4841ca0cd60433826d057e08143d.tar.gz zsh-b43af98a75ab4841ca0cd60433826d057e08143d.zip |
d/zshrc: Tighten regex
It matched VERSION_ID and might match other keys or values as well.
-rw-r--r-- | debian/zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/zshrc b/debian/zshrc index 5f975c373..3fb974897 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 -if grep -q 'ID.*=.*ubuntu' /etc/os-release && [[ -z "$skip_global_compinit" ]]; then +if grep -q '^ID.*=.*ubuntu' /etc/os-release && [[ -z "$skip_global_compinit" ]]; then autoload -U compinit compinit fi |