diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-12 15:28:24 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-11-12 15:28:24 +0000 |
commit | e6282df1155e8d9b08b2e518a452c1997973f1ce (patch) | |
tree | b0c8ed7e8512cc4397ae7df6d138ea66147565b3 /Completion/Builtins/_zmodload | |
parent | 167b0ae3b98938f75287dcf2e112d41a03532c5f (diff) | |
download | zsh-e6282df1155e8d9b08b2e518a452c1997973f1ce.tar.gz zsh-e6282df1155e8d9b08b2e518a452c1997973f1ce.tar.xz zsh-e6282df1155e8d9b08b2e518a452c1997973f1ce.zip |
manual/8630
Diffstat (limited to 'Completion/Builtins/_zmodload')
-rw-r--r-- | Completion/Builtins/_zmodload | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Completion/Builtins/_zmodload b/Completion/Builtins/_zmodload index 097911307..1a1097a7a 100644 --- a/Completion/Builtins/_zmodload +++ b/Completion/Builtins/_zmodload @@ -3,12 +3,15 @@ local fl="$words[2]" expl if [[ "$fl" = -*(a*u|u*a)* || "$fl" = -*a* && CURRENT -ge 4 ]]; then + _tags any:argument builtins || return 1 _description expl 'builtin command' compadd "$expl[@]" "$@" - "${(k@)builtins}" && ret=0 elif [[ "$fl" = -*u* ]]; then + _tags any:argument modules || return 1 _description expl module compadd "$expl[@]" - "${(@k)modules}" else + _tags any:argument files || return 1 _description expl 'module file' compadd "$expl[@]" - ${^module_path}/*.s[ol](N:t:r) fi |