Adds a directory to the top of the directory stack, or rotates
the stack, making the new top of the stack the current working
directory. With no arguments, exchanges the top two directories.
+N
[tab]
Rotates the stack so that the Nth directory (counting
[tab]
from the left of the list shown by `dirs', starting with
[tab]
zero) is at the top.
-N
[tab]
Rotates the stack so that the Nth directory (counting
[tab]
from the right of the list shown by `dirs', starting with
[tab]
zero) is at the top.
-n
[tab]
suppress the normal change of directory when adding directories
[tab]
to the stack, so only the stack is manipulated.
dir
[tab]
adds DIR to the directory stack at the top, making it the
[tab]
new current working directory.
You can see the directory stack with the `dirs' command.