summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2020-05-11 12:11:02 +0200
committerMarc Cornellà <marc.cornella@live.com>2020-05-11 12:11:02 +0200
commitda8c19a076a3d1cbd5b77928ce69c0705e1de8d7 (patch)
treeab6888b0e41a7c9402d7daab050820ecd7b002c7
parentc52441b624c0b1fa075bc6110032bd4e75311909 (diff)
downloadzsh-da8c19a076a3d1cbd5b77928ce69c0705e1de8d7.tar.gz
zsh-da8c19a076a3d1cbd5b77928ce69c0705e1de8d7.tar.bz2
zsh-da8c19a076a3d1cbd5b77928ce69c0705e1de8d7.zip
core: fix zstyle definition of use-cache
-rw-r--r--lib/completion.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh
index 8b87557a2..43927a277 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -41,8 +41,8 @@ fi
zstyle ':completion:*:cd:*' tag-order local-directories directory-stack path-directories
# Use caching so that commands like apt and dpkg complete are useable
-zstyle ':completion::complete:*' use-cache 1
-zstyle ':completion::complete:*' cache-path $ZSH_CACHE_DIR
+zstyle ':completion:*' use-cache yes
+zstyle ':completion:*' cache-path $ZSH_CACHE_DIR
# Don't complete uninteresting users
zstyle ':completion:*:*:*:users' ignored-patterns \