diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-02 08:23:31 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-02 08:23:31 +0000 |
commit | 753cc6b22adb659e9c6bdcf854d99bfe4b731d26 (patch) | |
tree | 9e3e7f2f5bb5bd6756860ee5d735b8392c01b3ed /Completion/Core | |
parent | 3d088f16aab58abcedcad8720ffbbfadee38bdc3 (diff) | |
download | zsh-753cc6b22adb659e9c6bdcf854d99bfe4b731d26.tar.gz zsh-753cc6b22adb659e9c6bdcf854d99bfe4b731d26.tar.xz zsh-753cc6b22adb659e9c6bdcf854d99bfe4b731d26.zip |
completion cleanup, mostly _wanted and $expl (11049)
Diffstat (limited to 'Completion/Core')
-rw-r--r-- | Completion/Core/_expand | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Completion/Core/_expand b/Completion/Core/_expand index 293ad3649..47253a094 100644 --- a/Completion/Core/_expand +++ b/Completion/Core/_expand @@ -94,10 +94,8 @@ if [[ -z "$compstate[insert]" ]] ;then else _tags all-expansions expansions original - if _requested all-expansions; then - _description all-expansions expl 'all expansions' - compadd "$expl[@]" -UQ -qS "$suf" - "$exp" - fi + _requested all-expansions expl 'all expansions' && + compadd "$expl[@]" -UQ -qS "$suf" - "$exp" if [[ $#exp -gt 1 ]] && _requested expansions; then local i normal dir |