Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: autocd in scripts



diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index 452b258..93887ca 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)



Messages sorted by: Reverse Date, Date, Thread, Author