summaryrefslogtreecommitdiff
path: root/Completion/bashcompinit
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2013-11-07 14:52:31 +0100
committerAxel Beckert <abe@deuxchevaux.org>2013-11-07 14:52:31 +0100
commitd799ac78a744a5359563af55b4dee9e91255a1dc (patch)
tree73475ed7089e6ee050085a96b88018994b43bdfc /Completion/bashcompinit
parentabfb3b136a4ad5b2832fb7d920442a2bb28c0697 (diff)
parent375115c7dfd6dff576915d25fe2ecdd381dd9d81 (diff)
downloadzsh-d799ac78a744a5359563af55b4dee9e91255a1dc.tar.gz
zsh-d799ac78a744a5359563af55b4dee9e91255a1dc.zip
Merge branch 'upstream' into debian
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 ))