summaryrefslogtreecommitdiff
path: root/Doc/help/pushd
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2022-05-14 23:32:33 +0200
committerAxel Beckert <abe@deuxchevaux.org>2022-05-14 23:32:33 +0200
commit2ae4a3989e1bd06c82d597418a46b25cb14d57ed (patch)
tree9cfc4bf449c34f9493e369910e94773d4cc88366 /Doc/help/pushd
parent43867f68c0b1279ec096ce5639e6ec3a2df8103f (diff)
parentd4d203488826181aa4eb360ce57de138417ba680 (diff)
downloadzsh-2ae4a3989e1bd06c82d597418a46b25cb14d57ed.tar.gz
zsh-2ae4a3989e1bd06c82d597418a46b25cb14d57ed.zip
Update upstream source from tag 'upstream/5.9'
Update to upstream version '5.9' with Debian dir 9ec0c75153d850f8dda83cca1a9ed3ff6200c14b
Diffstat (limited to 'Doc/help/pushd')
-rw-r--r--Doc/help/pushd22
1 files changed, 11 insertions, 11 deletions
diff --git a/Doc/help/pushd b/Doc/help/pushd
index 7365532ae..a15718d34 100644
--- a/Doc/help/pushd
+++ b/Doc/help/pushd
@@ -4,22 +4,22 @@ pushd [ -qsLP ] {+|-}n
Change the current directory, and push the old current directory
onto the directory stack. In the first form, change the current
directory to arg. If arg is not specified, change to the second
- directory on the stack (that is, exchange the top two entries),
- or change to $HOME if the PUSHD_TO_HOME option is set or if
- there is only one entry on the stack. Otherwise, arg is inter-
- preted as it would be by cd. The meaning of old and new in the
+ directory on the stack (that is, exchange the top two entries),
+ or change to $HOME if the PUSHD_TO_HOME option is set or if
+ there is only one entry on the stack. Otherwise, arg is inter-
+ preted as it would be by cd. The meaning of old and new in the
second form is also the same as for cd.
The third form of pushd changes directory by rotating the direc-
- tory list. An argument of the form `+n' identifies a stack en-
+ tory list. An argument of the form `+n' identifies a stack en-
try by counting from the left of the list shown by the dirs com-
- mand, starting with zero. An argument of the form `-n' counts
- from the right. If the PUSHD_MINUS option is set, the meanings
+ mand, starting with zero. An argument of the form `-n' counts
+ from the right. If the PUSHD_MINUS option is set, the meanings
of `+' and `-' in this context are swapped.
- If the -q (quiet) option is specified, the hook function chpwd
- and the functions in the array $chpwd_functions are not called,
- and the new directory stack is not printed. This is useful for
+ If the -q (quiet) option is specified, the hook function chpwd
+ and the functions in the array $chpwd_functions are not called,
+ and the new directory stack is not printed. This is useful for
calls to pushd that do not change the environment seen by an in-
teractive user.
@@ -27,5 +27,5 @@ pushd [ -qsLP ] {+|-}n
PUSHD_SILENT is not set, the directory stack will be printed af-
ter a pushd is performed.
- The options -s, -L and -P have the same meanings as for the cd
+ The options -s, -L and -P have the same meanings as for the cd
builtin.