From 6c51ff2d5a9ac7cec547d48f8d24f3d38cd6415f Mon Sep 17 00:00:00 2001
From: Andre Noll <maan@systemlinux.org>
Date: Wed, 19 May 2010 07:14:35 +0200
Subject: [PATCH] bash_completion: Fix sender completion.

Commit 6d1b1feadb2e7221874b7be205c51e0fe56d0519 changed the output of
the si command but missed to update the completion script accordingly.
---
 bash_completion | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
 }
-- 
2.39.5