From: Andre Noll Date: Wed, 19 May 2010 05:14:35 +0000 (+0200) Subject: bash_completion: Fix sender completion. X-Git-Tag: v0.4.3~22 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=6c51ff2d5a9ac7cec547d48f8d24f3d38cd6415f;p=paraslash.git bash_completion: Fix sender completion. Commit 6d1b1feadb2e7221874b7be205c51e0fe56d0519 changed the output of the si command but missed to update the completion script accordingly. --- diff --git a/bash_completion b/bash_completion index cd647e20..1ab6205a 100644 --- a/bash_completion +++ b/bash_completion @@ -47,7 +47,7 @@ __para_complete_table() __para_complete_sender() { if test -z "$__para_sender_list"; then - __para_sender_list="$($PC si | grep "supported senders:" | sed -e 's/.*: //')" + __para_sender_list="$($PC si | grep '^.* sender:$' | sed -e 's/ sender://')" fi echo "$__para_sender_list" }