about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:26:16 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2001-04-02 11:26:16 +0000
commitd3e7021acce0cc6085534090e304581d50d5996e (patch)
treeecb47324046571048da3bc9080a115ba1f097f02
parenta2cc010c6b8c34569ffa777867360e804ac416b6 (diff)
downloadzsh-d3e7021acce0cc6085534090e304581d50d5996e.tar.gz
zsh-d3e7021acce0cc6085534090e304581d50d5996e.tar.xz
zsh-d3e7021acce0cc6085534090e304581d50d5996e.zip
moved from Completion/Builtins/_builtin
-rw-r--r--Completion/Zsh/Command/_builtin11
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