diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2014-11-11 19:51:05 +0000 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2014-11-11 19:51:05 +0000 |
commit | e33411990e1353e5d39379adb56e325ab92ce28c (patch) | |
tree | 83f2c8d0b16b08e17c6b5f9e54850d6483e0a7ac /Doc | |
parent | c9804bebd897fe822053f8631aed1de970120f9d (diff) | |
download | zsh-e33411990e1353e5d39379adb56e325ab92ce28c.tar.gz zsh-e33411990e1353e5d39379adb56e325ab92ce28c.tar.xz zsh-e33411990e1353e5d39379adb56e325ab92ce28c.zip |
AUTO_CD behaviour depends on SHIN_STDIN, document
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/options.yo | 4 |
1 files changed, 4 insertions, 0 deletions
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) |