aboutsummaryrefslogtreecommitdiff
path: root/bash-completion.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion.bash')
-rw-r--r--bash-completion.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/bash-completion.bash b/bash-completion.bash
index 11f9ff810..f0c8818e1 100644
--- a/bash-completion.bash
+++ b/bash-completion.bash
@@ -3,7 +3,8 @@
# commands, all options, and will never go out of date!
_git-annex()
{
- local cmdline
+ local CMDLINE
+ local IFS=$'\n'
CMDLINE=(--bash-completion-index $COMP_CWORD)
for arg in ${COMP_WORDS[@]}; do