From: Robert Lehmann Date: Fri, 26 Nov 2010 07:35:13 +0000 (+0100) Subject: Allow multiple words to be completed at once, eg. for assignees. X-Git-Tag: 1.1.0~245^2~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7c4eed14652c014f20d78fae6824cfcc84198534;p=be.git Allow multiple words to be completed at once, eg. for assignees. --- diff --git a/misc/completion/be.bash b/misc/completion/be.bash index 834bf25..1d3a941 100644 --- a/misc/completion/be.bash +++ b/misc/completion/be.bash @@ -32,7 +32,7 @@ _be() for i in `seq $COMP_CWORD ${#COMP_WORDS[@]}`; do unset COMP_WORDS[$i]; done - COMPREPLY=( $( compgen -W "$(be "${COMP_WORDS[@]}" --complete $cur)" -- $cur ) ) + COMPREPLY=( $( IFS=$'\n' compgen -W "$(be "${COMP_WORDS[@]}" --complete $cur)" -- $cur ) ) fi }