From 7c4eed14652c014f20d78fae6824cfcc84198534 Mon Sep 17 00:00:00 2001 From: Robert Lehmann Date: Fri, 26 Nov 2010 08:35:13 +0100 Subject: [PATCH] Allow multiple words to be completed at once, eg. for assignees. --- misc/completion/be.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.26.2