diff options
| author | Peter Stephenson <pws@users.sourceforge.net> | 2000-07-03 14:00:44 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@users.sourceforge.net> | 2000-07-03 14:00:44 +0000 |
| commit | 044e8e054cbcc2c25fb95937add58b6fee15c61d (patch) | |
| tree | 57891d498c02a15020c8eea8651404abdab40192 /Completion/Core/compinstall | |
| parent | 3.1.9-dev-2 (diff) | |
| download | zsh-044e8e054cbcc2c25fb95937add58b6fee15c61d.tar zsh-044e8e054cbcc2c25fb95937add58b6fee15c61d.tar.gz zsh-044e8e054cbcc2c25fb95937add58b6fee15c61d.tar.bz2 zsh-044e8e054cbcc2c25fb95937add58b6fee15c61d.tar.lz zsh-044e8e054cbcc2c25fb95937add58b6fee15c61d.tar.xz zsh-044e8e054cbcc2c25fb95937add58b6fee15c61d.tar.zst zsh-044e8e054cbcc2c25fb95937add58b6fee15c61d.zip | |
12140: make key rebinding for _expand complter easier
Diffstat (limited to 'Completion/Core/compinstall')
| -rw-r--r-- | Completion/Core/compinstall | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Completion/Core/compinstall b/Completion/Core/compinstall index 4b519354c..2f784fcc2 100644 --- a/Completion/Core/compinstall +++ b/Completion/Core/compinstall @@ -1727,17 +1727,19 @@ local tmpout=${TMPPREFIX:-/tmp/zsh}compinstall$$ # insert. # { print -r "$startline -autoload -U compinit -compinit" - - [[ -n $fpath_line ]] && print -r "$fpath_line" - - print -r "$output" +$output" if [[ -n $ifile ]]; then line="zstyle :compinstall filename ${(qq)ifile}" print -r "$line" eval "$line" fi + + [[ -n $fpath_line ]] && print -r "$fpath_line" + + print -r " +autoload -U compinit +compinit" + print -r "$endline" } >$tmpout |
