diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Doc/Zsh/options.yo | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 495a6f9c5..64d0820be 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-11-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 33658: Doc/Zsh/options.yo: AUTO_CD depends on SHIN_STDIN. + 2014-11-09 Oliver Kiddle <opk@zsh.org> * 33599: Jun T.: Test/comptest: workaround zpty issue that 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) |