summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Completion/bashcompinit4
2 files changed, 8 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index f9026eec5..c76c61c66 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-01-04 Peter Stephenson <p.stephenson@samsung.com>
+
+ * 30941: Completion/bashcompinit: scalars giving status of bash
+ completion should be exported for external programmes.
+
2013-01-03 Bart Schaefer <schaefer@zsh.org>
* users/17524: Doc/Zsh/expn.yo: misc. parameter flag clarifications.
@@ -421,5 +426,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5780 $
+* $Revision: 1.5781 $
*****************************************************
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 ))