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 10:11:45 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-06-21 10:11:45 +0000
commitd908792fd49f71dd4bb68e771caca4b958e32ea7 (patch)
treeb9b77607a391c125dd7ee9b199db06820cc724b9 /Completion/Zsh/Context
parentc8f71a2dfab6520a929e7d5f1304ece7d8223fbf (diff)
downloadzsh-d908792fd49f71dd4bb68e771caca4b958e32ea7.tar.gz
zsh-d908792fd49f71dd4bb68e771caca4b958e32ea7.tar.xz
zsh-d908792fd49f71dd4bb68e771caca4b958e32ea7.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