aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Lehmann <mail@robertlehmann.de>2010-11-26 08:35:13 +0100
committerRobert Lehmann <mail@robertlehmann.de>2010-11-26 08:35:13 +0100
commit7c4eed14652c014f20d78fae6824cfcc84198534 (patch)
tree483da7e6600601d314e4d598464afc7d91aab805
parentb64851e3eb706b7b57503a0a605e0984e443747c (diff)
downloadbugseverywhere-7c4eed14652c014f20d78fae6824cfcc84198534.tar.gz
Allow multiple words to be completed at once, eg. for assignees.
-rw-r--r--misc/completion/be.bash2
1 files changed, 1 insertions, 1 deletions
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
}