summaryrefslogtreecommitdiff
path: root/Doc/help/dirs
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/help/dirs')
-rw-r--r--Doc/help/dirs17
1 files changed, 17 insertions, 0 deletions
diff --git a/Doc/help/dirs b/Doc/help/dirs
new file mode 100644
index 000000000..c2c8e0311
--- /dev/null
+++ b/Doc/help/dirs
@@ -0,0 +1,17 @@
+dirs [ -c ] [ arg ... ]
+dirs [ -lpv ]
+ With no arguments, print the contents of the directory stack.
+ Directories are added to this stack with the pushd command, and
+ removed with the cd or popd commands. If arguments are speci-
+ fied, load them onto the directory stack, replacing anything
+ that was there, and push the current directory onto the stack.
+
+ -c clear the directory stack.
+
+ -l print directory names in full instead of using of using ~
+ expressions (see Dynamic and Static named directories in
+ zshexpn(1)).
+
+ -p print directory entries one per line.
+
+ -v number the directories in the stack when printing.