1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-03 10:21:46 +02:00

47929: complete newer possible values for the sort style

This commit is contained in:
Oliver Kiddle 2021-02-07 01:52:40 +01:00
parent 2b2353fc8f
commit ceb25d9495
2 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2021-02-07 Oliver Kiddle <opk@zsh.org>
* 47929: Completion/Zsh/Command/_zstyle: complete newer
possible values for the sort style
* based on github #62: oxiedi@yandex.ru:
Completion/Unix/Type/_date_formats: return proper exit status

View file

@ -111,7 +111,7 @@ styles=(
show-ambiguity c:
show-completer c:bool
single-ignored c:single-ignored
sort c:bool
sort c:sort-order
special-dirs c:sdirs
squeeze-slashes c:bool
stop c:stop
@ -571,6 +571,10 @@ while (( $#state )); do
_message -e separators 'separator string'
;;
(sort-order)
_wanted sort-orders expl 'sort order' compadd -F line - true false match nosort numeric reverse
;;
(max-matches-width)
_message -e numbers 'maximum display width for matches'
;;