summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-02-20 12:51:51 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-02-20 12:51:51 +0000
commit6febc8fe67ab920819dd0b2bbdddb4f84d991dc5 (patch)
treea4afa3a7fcf16b3b06e36381cb3c281da8f6b5d4 /Doc/Zsh
parent0de96fc47898c0ed4c9c8e000fb63c897fe965ae (diff)
downloadzsh-6febc8fe67ab920819dd0b2bbdddb4f84d991dc5.tar.gz
zsh-6febc8fe67ab920819dd0b2bbdddb4f84d991dc5.tar.xz
zsh-6febc8fe67ab920819dd0b2bbdddb4f84d991dc5.zip
16619, 16676: add -c, -l and -p options to the dirs builtin
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/builtins.yo21
1 files changed, 18 insertions, 3 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 15b8ba23e..dadbbbca5 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -200,15 +200,30 @@ var(n)-1 loops and resume at the var(n)th enclosing loop.
 alias(declare)(typeset)
 findex(dirs)
 cindex(directory stack, printing)
-item(tt(dirs) [ tt(-v) ] [ var(arg) ... ])(
+xitem(tt(dirs) [ tt(-c) ] [ var(arg) ... ])
+item(tt(dirs) [ tt(-lpv) ])(
 With no arguments, print the contents of the directory stack.
-If the tt(-v) option is given, number the directories
-in the stack when printing.
 Directories are added to this stack with the tt(pushd) command,
 and removed with the tt(cd) or tt(popd) commands.
 If arguments are specified, load them onto the directory stack,
 replacing anything that was there, and push the current directory
 onto the stack.
+
+startitem()
+item(tt(-c))(
+clear the directory stack.
+)
+item(tt(-l))(
+print directory names in full instead of using of using tt(~) expressions.
+)
+item(tt(-p))(
+print directory entries one per line.
+)
+item(tt(-v))(
+number the directories in the stack when printing.
+)
+enditem()
+
 )
 findex(disable)
 cindex(disabling commands)