diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:26:16 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2001-04-02 11:26:16 +0000 |
commit | d3e7021acce0cc6085534090e304581d50d5996e (patch) | |
tree | ecb47324046571048da3bc9080a115ba1f097f02 /Completion/Zsh/Command | |
parent | a2cc010c6b8c34569ffa777867360e804ac416b6 (diff) | |
download | zsh-d3e7021acce0cc6085534090e304581d50d5996e.tar.gz zsh-d3e7021acce0cc6085534090e304581d50d5996e.tar.xz zsh-d3e7021acce0cc6085534090e304581d50d5996e.zip |
moved from Completion/Builtins/_builtin
Diffstat (limited to 'Completion/Zsh/Command')
-rw-r--r-- | Completion/Zsh/Command/_builtin | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Completion/Zsh/Command/_builtin b/Completion/Zsh/Command/_builtin new file mode 100644 index 000000000..9fb6acf7b --- /dev/null +++ b/Completion/Zsh/Command/_builtin @@ -0,0 +1,11 @@ +#compdef builtin + +if (( $CURRENT > 2 )); then + shift words + (( CURRENT -- )) + _normal +else + local expl + + _wanted commands expl 'builtin command' compadd "$@" -k builtins +fi |