summaryrefslogtreecommitdiff
path: root/Doc/help/popd
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2020-02-16 03:29:05 +0100
committerAxel Beckert <abe@deuxchevaux.org>2020-02-16 03:29:05 +0100
commit94c033d2e281eb1f49e8366d21fc259ce8c0c4f5 (patch)
tree701ad2fd3a7867e97689d1349d46ca25a92297b4 /Doc/help/popd
parent643de931640e01aa246723d2038328ef33737965 (diff)
parent77d203f3fbbd76386bf197f9776269a1de580bb5 (diff)
downloadzsh-94c033d2e281eb1f49e8366d21fc259ce8c0c4f5.tar.gz
zsh-94c033d2e281eb1f49e8366d21fc259ce8c0c4f5.zip
New upstream version 5.8
Diffstat (limited to 'Doc/help/popd')
-rw-r--r--Doc/help/popd14
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/help/popd b/Doc/help/popd
new file mode 100644
index 000000000..d2fa4643b
--- /dev/null
+++ b/Doc/help/popd
@@ -0,0 +1,14 @@
+popd [ -q ] [ {+|-}n ]
+ Remove an entry from the directory stack, and perform a cd to
+ the new top directory. With no argument, the current top entry
+ is removed. 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
+ 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
+ calls to popd that do not change the environment seen by an in-
+ teractive user.