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 /Completion/bashcompinit | |
| parent | users/17524: misc. parameter flag clarifications (diff) | |
| download | zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.tar zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.tar.gz zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.tar.bz2 zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.tar.lz zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.tar.xz zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.tar.zst zsh-edab1d3dbe61da7efe5f1ac0e40444b2ec9b9570.zip | |
340941: bashcompinit: scalars giving bash completion status should be exported
Diffstat (limited to 'Completion/bashcompinit')
| -rw-r--r-- | Completion/bashcompinit | 4 |
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 )) |
