From e33411990e1353e5d39379adb56e325ab92ce28c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 11 Nov 2014 19:51:05 +0000 Subject: AUTO_CD behaviour depends on SHIN_STDIN, document --- Doc/Zsh/options.yo | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Doc') diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index b9f78bfa3..076aaf44f 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -63,6 +63,10 @@ item(tt(AUTO_CD) (tt(-J)))( If a command is issued that can't be executed as a normal command, and the command is the name of a directory, perform the tt(cd) command to that directory. +This option is only applicable if the option tt(SHIN_STDIN) is set, +i.e. if commands are being read from standard input. The option +is designed for interactive use; it is recommended that tt(cd) +be used explicitly in scripts to avoid ambiguity. ) pindex(AUTO_PUSHD) pindex(NO_AUTO_PUSHD) -- cgit v1.2.3