summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-07-29 08:39:37 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-07-29 08:39:37 +0000
commit71432c32055b1a07835bcd01ccc6474322b1a862 (patch)
treeffd55a0c36398a2141c657feba3212af33856b56 /Completion/Unix
parentbb21e2531fa9d54b14759cddf4d8f4f831402a2f (diff)
downloadzsh-71432c32055b1a07835bcd01ccc6474322b1a862.tar.gz
zsh-71432c32055b1a07835bcd01ccc6474322b1a862.tar.xz
zsh-71432c32055b1a07835bcd01ccc6474322b1a862.zip
users/13072: add follow option to file-sort
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Type/_path_files1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index 970c3948a..53c0f2a4a 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -123,6 +123,7 @@ if zstyle -s ":completion:${curcontext}:" file-sort tmp1; then
   *)                  sort=on;;
   esac
   [[ "$tmp1" = *rev* ]] && sort[1]=O
+  [[ "$tmp1" = *follow* ]] && sort="-$sort"
 
   if [[ "$sort" = on ]]; then
     sort=