From cb4dc956439140ca595b2b7dfd511efaa22d1e22 Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Thu, 12 Dec 2019 10:47:00 +0000
Subject: 45009: POSIX_CD needs to suppress some forms of option.
Otherwise forms of argument allowed by POSIX are interpreted as
options instead.
---
Doc/Zsh/builtins.yo | 2 ++
1 file changed, 2 insertions(+)
(limited to 'Doc/Zsh/builtins.yo')
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 15d3e0cf4..415bce613 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -290,6 +290,8 @@ of the list shown by the tt(dirs) command, starting with zero.
An argument of the form `tt(-)var(n)' counts from the right.
If the tt(PUSHD_MINUS) option is set, the meanings of `tt(PLUS())'
and `tt(-)' in this context are swapped.
+If the tt(POSIX_CD) option is set, this form of tt(cd) is not recognised
+and will be interpreted as the first form.
If the tt(-q) (quiet) option is specified, the hook function tt(chpwd)
and the functions in the array tt(chpwd_functions) are not called.
--
cgit 1.4.1