浏览代码

core: fix zstyle definition of use-cache

Marc Cornellà 4 年之前
父节点
当前提交
da8c19a076
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/completion.zsh

+ 2 - 2
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 \