diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | Completion/Unix/Type/_path_files | 2 |
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index 2c2b627ff..d9cf20cca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,14 @@ +2008-07-30 Peter Stephenson <pws@csr.com> + + * Max Mikhanosha: users/13077: Completion/Unix/Type/_path_files: + fix toggling with `follow' option. + 2008-07-29 Peter Stephenson <pws@csr.com> * 25346: Completion/compdump: fix some variables. - * Max Mikhanosha: users/13072: add `follow' option to - file-sort style. + * Max Mikhanosha: users/13072: Completion/Unix/Type/_path_files: + add `follow' option to file-sort style. 2008-07-27 Peter Stephenson <p.w.stephenson@ntlworld.com> diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files index 53c0f2a4a..23f88aaec 100644 --- a/Completion/Unix/Type/_path_files +++ b/Completion/Unix/Type/_path_files @@ -123,7 +123,7 @@ if zstyle -s ":completion:${curcontext}:" file-sort tmp1; then *) sort=on;; esac [[ "$tmp1" = *rev* ]] && sort[1]=O - [[ "$tmp1" = *follow* ]] && sort="-$sort" + [[ "$tmp1" = *follow* ]] && sort="-${sort}-" if [[ "$sort" = on ]]; then sort= |