diff options
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 |