summaryrefslogtreecommitdiff
path: root/Completion/compdump
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2004-04-20 12:11:13 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2004-04-20 12:11:13 +0000
commitca0deae382e7798eeff829d9b93472cf876574a3 (patch)
treee5d49d22db9e4521ce70fadeaec7dbe4502728b1 /Completion/compdump
parent8c890ebe7fb9c9335b2433148dec0588f7fa3f7a (diff)
downloadzsh-ca0deae382e7798eeff829d9b93472cf876574a3.tar.gz
zsh-ca0deae382e7798eeff829d9b93472cf876574a3.zip
19767, 19785: store flags for -z and -k options to autoload allowing the
completion system to be used with ksh_autoload set
Diffstat (limited to 'Completion/compdump')
-rw-r--r--Completion/compdump8
1 files changed, 4 insertions, 4 deletions
diff --git a/Completion/compdump b/Completion/compdump
index 128cb841c..c762eee51 100644
--- a/Completion/compdump
+++ b/Completion/compdump
@@ -88,7 +88,7 @@ zle -lL |
d_complist=yes
fi
print -r - ${_d_line}
- _d_bks=($_d_bks ${_d_line[3]})
+ _d_bks+=(${_d_line[3]})
fi
done >> $_d_file
bindkey |
@@ -108,7 +108,7 @@ _d_als=(${(o)$(typeset +fm '_*')})
# print them out: about five to a line looks neat
_i=5
-print -n autoload -U >> $_d_file
+print -n autoload -Uz >> $_d_file
while (( $#_d_als )); do
if (( ! $+_compautos[$_d_als[1]] )); then
print -n " $_d_als[1]"
@@ -123,7 +123,7 @@ done >> $_d_file
print >> $_d_file
for _i in "${(ok@)_compautos}"; do
- print "autoload -U $_compautos[$_i] $_i" >> $_d_file
+ print "autoload -Uz $_compautos[$_i] $_i" >> $_d_file
done
print >> $_d_file
@@ -134,4 +134,4 @@ print "_comp_assocs=( ${(q)_comp_assocs} )" >> $_d_file
mv $_d_file ${_d_file%.$HOST.$$}
unfunction compdump
-autoload -U compdump
+autoload -Uz compdump