]> git.tue.mpg.de Git - paraslash.git/commitdiff
bash_completion: Fix sender completion.
authorAndre Noll <maan@systemlinux.org>
Wed, 19 May 2010 05:14:35 +0000 (07:14 +0200)
committerAndre Noll <maan@systemlinux.org>
Wed, 19 May 2010 05:14:35 +0000 (07:14 +0200)
Commit 6d1b1feadb2e7221874b7be205c51e0fe56d0519 changed the output of
the si command but missed to update the completion script accordingly.

bash_completion

index cd647e2096b61ce583a4bd48318484cb814762e9..1ab6205a6ef22306ad46698f8c57269d59f74d7c 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"
 }