diff options
| author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-09-02 05:48:24 +0000 |
|---|---|---|
| committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-09-02 19:20:56 +0000 |
| commit | 972423629f115b710c385cff0daa60182e5f33e6 (patch) | |
| tree | 9b7ceeac9be14fa5acfeb4c10a6d4af481203571 | |
| parent | 39154: _files: -/ with list-dirs-first resulted in a bad pattern, thus aborti... (diff) | |
| download | zsh-972423629f115b710c385cff0daa60182e5f33e6.tar zsh-972423629f115b710c385cff0daa60182e5f33e6.tar.gz zsh-972423629f115b710c385cff0daa60182e5f33e6.tar.bz2 zsh-972423629f115b710c385cff0daa60182e5f33e6.tar.lz zsh-972423629f115b710c385cff0daa60182e5f33e6.tar.xz zsh-972423629f115b710c385cff0daa60182e5f33e6.tar.zst zsh-972423629f115b710c385cff0daa60182e5f33e6.zip | |
unposted: _postfix_queue_id: Unbreak completion of short queue ids of held/active messages, broken in 39108.
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | Completion/Unix/Command/_postfix | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,9 @@ 2016-09-02 Daniel Shahaf <d.s@daniel.shahaf.name> + * unposted: Completion/Unix/Command/_postfix: _postfix_queue_id: + Unbreak completion of short queue ids of held/active messages, + broken in 39108. + * 39154: Completion/Unix/Type/_files: -/ with list-dirs-first resulted in a bad pattern, thus aborting completion partway. @@ -28,7 +32,7 @@ 2016-08-30 Daniel Shahaf <d.s@daniel.shahaf.name> - * 39108: Completion/Unix/Command/_postfix: Support + * 39108 (tweaked): Completion/Unix/Command/_postfix: Support $enable_long_queue_ids. * 39110: Completion/Unix/Command/_postfix: Complete 'postconf'. diff --git a/Completion/Unix/Command/_postfix b/Completion/Unix/Command/_postfix index ab9518212..528034ef8 100644 --- a/Completion/Unix/Command/_postfix +++ b/Completion/Unix/Command/_postfix @@ -10,7 +10,7 @@ _postfix_queue_id() { local -a lines=( ${(f)"$(_call_program mailq 'mailq')"} ) # $enable_long_queue_ids = no - compadd "$@" -- ${${(M)lines:#(#s)([0-9A-F]## )*}/(#s)(#b)([0-9A-F]##)*/$match[1]} + compadd "$@" -- ${${(M)lines:#(#s)([0-9A-F]##([*!]|) )*}/(#s)(#b)([0-9A-F]##)*/$match[1]} # $enable_long_queue_ids = yes compadd "$@" -- ${${${(M)lines:#(#s)[0-9bcdfghjklmnpqrstvwxyzBCDFGHJKLMNPQRSTVWXYZ](#c10)z*}%% *}%[*!]} |
