bash_completion: Fix sender completion.
[paraslash.git] / bash_completion
index cd647e2..1ab6205 100644 (file)
@@ -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"
 }