diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-23 08:07:32 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-10-23 08:07:32 +0000 |
commit | 865f3961b7a84613a2537eabb77dc98378840167 (patch) | |
tree | 311d9c9eaa632ee52efa0efee32e3fc26a9a5551 /Completion | |
parent | de595fbc90aafdb6987576fcf7b9f1dd9a2a2d2b (diff) | |
download | zsh-865f3961b7a84613a2537eabb77dc98378840167.tar.gz zsh-865f3961b7a84613a2537eabb77dc98378840167.tar.xz zsh-865f3961b7a84613a2537eabb77dc98378840167.zip |
change some tags used in filename completion: no tag for file-sort, fake-files and ignore-parents, paths for accept-exact (13037)
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" = (|*[^\$])\([^\|\~]##\) ) || |