From edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 4 Jan 2013 15:55:26 +0000 Subject: 340941: bashcompinit: scalars giving bash completion status should be exported --- Completion/bashcompinit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Completion/bashcompinit') diff --git a/Completion/bashcompinit b/Completion/bashcompinit index 6cc3be580..902fa88a8 100644 --- a/Completion/bashcompinit +++ b/Completion/bashcompinit @@ -3,9 +3,9 @@ _bash_complete() { local ret=1 local -a suf matches - local COMP_POINT COMP_CWORD + local -x COMP_POINT COMP_CWORD local -a COMP_WORDS COMPREPLY BASH_VERSINFO - local COMP_LINE="$words" + local -x COMP_LINE="$words" local -A savejobstates savejobtexts (( COMP_POINT = 1 + ${#${(j. .)words[1,CURRENT]}} + $#QIPREFIX + $#IPREFIX + $#PREFIX )) -- cgit 1.4.1