diff options
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Core/_path_files | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/Core/_path_files b/Completion/Core/_path_files index 5133ef2b2..e95b3f184 100644 --- a/Completion/Core/_path_files +++ b/Completion/Core/_path_files @@ -96,7 +96,7 @@ fi (( $#matcher )) && mopts=( "$mopts[@]" "$matcher[@]" ) -if zstyle -s ":completion:${curcontext}:files" file-sort tmp1; then +if zstyle -s ":completion:${curcontext}:" file-sort tmp1; then case "$tmp1" in *size*) sort=oL;; *links*) sort=ol;; @@ -141,10 +141,10 @@ zstyle -s ":completion:${curcontext}:paths" special-dirs sdirs [[ "$pats" = ((|*[[:blank:]])\*(|[[:blank:]]*)|*\([^[:blank:]]#/[^[:blank:]]#\)*) ]] && sopt=$sopt/ -zstyle -a ":completion:${curcontext}:files" accept-exact accex -zstyle -a ":completion:${curcontext}:files" fake-files fake +zstyle -a ":completion:${curcontext}:paths" accept-exact accex +zstyle -a ":completion:${curcontext}:" fake-files fake -zstyle -s ":completion:${curcontext}:files" ignore-parents ignpar +zstyle -s ":completion:${curcontext}:" ignore-parents ignpar if [[ -n "$compstate[pattern_match]" && ( ( -z "$SUFFIX" && "$PREFIX" = (|*[^\$])\([^\|\~]##\) ) || |