diff options
| author | Oliver Kiddle <opk@zsh.org> | 2021-02-07 01:52:40 +0100 |
|---|---|---|
| committer | Oliver Kiddle <opk@zsh.org> | 2021-02-07 01:52:40 +0100 |
| commit | ceb25d9495b28e87543e8d4d3b071fbea20eceef (patch) | |
| tree | 801fb6b4379bb7ebf18414d546bd75a13f77d08e /Completion/Zsh | |
| parent | based on github #62: return proper exit status (diff) | |
| download | zsh-ceb25d9495b28e87543e8d4d3b071fbea20eceef.tar zsh-ceb25d9495b28e87543e8d4d3b071fbea20eceef.tar.gz zsh-ceb25d9495b28e87543e8d4d3b071fbea20eceef.tar.bz2 zsh-ceb25d9495b28e87543e8d4d3b071fbea20eceef.tar.lz zsh-ceb25d9495b28e87543e8d4d3b071fbea20eceef.tar.xz zsh-ceb25d9495b28e87543e8d4d3b071fbea20eceef.tar.zst zsh-ceb25d9495b28e87543e8d4d3b071fbea20eceef.zip | |
47929: complete newer possible values for the sort style
Diffstat (limited to 'Completion/Zsh')
| -rw-r--r-- | Completion/Zsh/Command/_zstyle | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/_zstyle b/Completion/Zsh/Command/_zstyle index 75acde5f7..bb0e1f5bc 100644 --- a/Completion/Zsh/Command/_zstyle +++ b/Completion/Zsh/Command/_zstyle @@ -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' ;; |
