mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-07-13 17:31:27 +02:00
340941: bashcompinit: scalars giving bash completion status should be exported
This commit is contained in:
parent
91197f4993
commit
edab1d3dbe
2 changed files with 8 additions and 3 deletions
|
@ -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 $
|
||||
*****************************************************
|
||||
|
|
|
@ -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 ))
|
||||
|
|
Loading…
Reference in a new issue