about summary refs log tree commit diff
path: root/Completion/Unix/Command/_postfix
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-09-02 05:48:24 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-09-02 19:20:56 +0000
commit972423629f115b710c385cff0daa60182e5f33e6 (patch)
tree9b7ceeac9be14fa5acfeb4c10a6d4af481203571 /Completion/Unix/Command/_postfix
parent8bb531990e99b6f71f33007deae41ada6d6ddaf0 (diff)
downloadzsh-972423629f115b710c385cff0daa60182e5f33e6.tar.gz
zsh-972423629f115b710c385cff0daa60182e5f33e6.tar.xz
zsh-972423629f115b710c385cff0daa60182e5f33e6.zip
unposted: _postfix_queue_id: Unbreak completion of short queue ids of held/active messages, broken in 39108.
Diffstat (limited to 'Completion/Unix/Command/_postfix')
-rw-r--r--Completion/Unix/Command/_postfix2
1 files changed, 1 insertions, 1 deletions
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*}%% *}%[*!]}