X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=bash_completion;h=a9947b74edfe12d79cb6f619142e0da4a67a0253;hp=aeee64c17713f7d1d16cb1b226958fcf7d304124;hb=89ac7435066d5babbd49d9d643a9eb328f886cf9;hpb=1454e9f8e585dace86da0a4a57fb3852f16686a2 diff --git a/bash_completion b/bash_completion index aeee64c1..a9947b74 100644 --- a/bash_completion +++ b/bash_completion @@ -2,7 +2,7 @@ # # Licensed under the GPL v2. For licencing details see COPYING. -PC="para_client -l 5 -- " +PC="para_client -l error -- " __para_commandlist= __para_sender_list= @@ -40,14 +40,14 @@ __para_complete_command() __para_complete_table() { if test -z "$__para_table_list"; then - __para_table_list="$(ls $HOME/.paraslash/afs_database/)" + __para_table_list="$(ls $HOME/.paraslash/afs_database-0.4/)" fi echo "$__para_table_list" } __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" }