summary refs log tree commit diff
path: root/Completion/bashcompinit
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2013-01-04 15:55:26 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2013-01-04 15:55:26 +0000
commitedab1d3dbe61da7efe5f1ac0e40444b2ec9b9570 (patch)
tree600082005c0178404bc0a1b1263cb05c01fd6587 /Completion/bashcompinit
parent91197f49936a453ef48b43cc443c111a651a77bd (diff)
downloadzsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.tar.gz
zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.tar.xz
zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.zip
340941: bashcompinit: scalars giving bash completion status should be exported
Diffstat (limited to 'Completion/bashcompinit')
-rw-r--r--Completion/bashcompinit4
1 files changed, 2 insertions, 2 deletions
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 ))