mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-09 12:21:14 +02:00
users/13077: Max Mikhanosha: restore follow after sort in _path_files
This commit is contained in:
parent
f11ec8fbac
commit
eccd5ca1a3
2 changed files with 8 additions and 3 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -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=
|
||||
|
|
Loading…
Reference in a new issue