about summary refs log tree commit diff
path: root/Completion/Zsh/Context/_autocd
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Context/_autocd')
-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