diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2013-01-04 15:55:26 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2013-01-04 15:55:26 +0000 |
commit | edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570 (patch) | |
tree | 600082005c0178404bc0a1b1263cb05c01fd6587 | |
parent | 91197f49936a453ef48b43cc443c111a651a77bd (diff) | |
download | zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.tar.gz zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.tar.xz zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.zip |
340941: bashcompinit: scalars giving bash completion status should be exported
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Completion/bashcompinit | 4 |
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 )) |