From 1712c626339c3e7f40273d9e57906fab96a329a9 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sat, 27 Aug 2016 18:44:47 +0000 Subject: 39109: _postfix: Use mailq to obtain queue id's. 'mailq' is usually in */bin (as opposed to */sbin) and so is more likely to be in $PATH. --- Completion/Unix/Command/_postfix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Command/_postfix') diff --git a/Completion/Unix/Command/_postfix b/Completion/Unix/Command/_postfix index 0ced6c24a..68115694f 100644 --- a/Completion/Unix/Command/_postfix +++ b/Completion/Unix/Command/_postfix @@ -1,7 +1,7 @@ #compdef postsuper _postfix_queue_id() { -compadd ${${(M)${(f)"$(postqueue -p)"}:#(#s)([0-9A-F]##)*}/(#s)(#b)([0-9A-F]##)*/$match[1]} + compadd "$@" -- ${${(M)${(f)"$(_call_program mailq 'mailq')"}:#(#s)([0-9A-F]##)*}/(#s)(#b)([0-9A-F]##)*/$match[1]} } case $service in -- cgit 1.4.1