about summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-07-30 14:57:27 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-07-30 14:57:27 +0000
commiteccd5ca1a3682e4feda3f6bdf1daab2feea0b1b0 (patch)
treeb036e4f291020301932dc45c63be8df0d74cdd38 /Completion/Unix
parentf11ec8fbacc481e06654e31e8b1ff809f731a38f (diff)
downloadzsh-eccd5ca1a3682e4feda3f6bdf1daab2feea0b1b0.tar.gz
zsh-eccd5ca1a3682e4feda3f6bdf1daab2feea0b1b0.tar.xz
zsh-eccd5ca1a3682e4feda3f6bdf1daab2feea0b1b0.zip
users/13077: Max Mikhanosha: restore follow after sort in _path_files
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Type/_path_files2
1 files changed, 1 insertions, 1 deletions
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=