diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-08 08:44:52 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-08 08:44:52 +0000 |
commit | bedd4cf2c57a89bec8bd98e6ed65082164b69d93 (patch) | |
tree | d7a24e4699e0574717e9f156e63212047cf2ccba /Completion/Core/_expand | |
parent | 92637abbb870dc35e1af9150741f7b11587a3350 (diff) | |
download | zsh-bedd4cf2c57a89bec8bd98e6ed65082164b69d93.tar.gz zsh-bedd4cf2c57a89bec8bd98e6ed65082164b69d93.tar.xz zsh-bedd4cf2c57a89bec8bd98e6ed65082164b69d93.zip |
make _expand call _complete when called from _expand_word; add ignore-line style to ignore words already on the line (11244)
Diffstat (limited to 'Completion/Core/_expand')
-rw-r--r-- | Completion/Core/_expand | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Core/_expand b/Completion/Core/_expand index 985f21899..987a597c7 100644 --- a/Completion/Core/_expand +++ b/Completion/Core/_expand @@ -30,6 +30,7 @@ if [[ "$force" = *c* ]] || { zstyle -s ":completion:${curcontext}:" completions expr && [[ "${(e):-\$[$expr]}" -eq 1 ]] }; then compstate[insert]=all + [[ "$curcontext" = expand-word:* ]] && _complete && return 0 return 1 fi |