about summary refs log tree commit diff
path: root/Completion/Zsh/Context
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-06-21 09:33:15 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-06-21 09:33:15 +0000
commit5470c1fe38a47bd4eb1da9197786f8fdd4b2a952 (patch)
treebf3da4331e0cb86c64b74de69ac78ff4b84a7513 /Completion/Zsh/Context
parentf256c16efe7c7d078e95f57a9546aeefadf4607f (diff)
downloadzsh-5470c1fe38a47bd4eb1da9197786f8fdd4b2a952.tar.gz
zsh-5470c1fe38a47bd4eb1da9197786f8fdd4b2a952.tar.xz
zsh-5470c1fe38a47bd4eb1da9197786f8fdd4b2a952.zip
Completion for AUTO_CD.
Diffstat (limited to 'Completion/Zsh/Context')
-rw-r--r--Completion/Zsh/Context/_autocd5
1 files changed, 5 insertions, 0 deletions
diff --git a/Completion/Zsh/Context/_autocd b/Completion/Zsh/Context/_autocd
new file mode 100644
index 000000000..58ba5b17b
--- /dev/null
+++ b/Completion/Zsh/Context/_autocd
@@ -0,0 +1,5 @@
+#compdef -command-
+
+_command_names
+local ret=$?
+[[ -o autocd ]] && _cd || return ret