mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-24 08:41:27 +08:00
73a5e2bc6b
Fixes #2174
16 lines
350 B
Plaintext
16 lines
350 B
Plaintext
\section dirs dirs - print directory stack
|
|
|
|
\subsection dirs-synopsis Synopsis
|
|
\fish{synopsis}
|
|
dirs
|
|
dirs -c
|
|
\endfish
|
|
|
|
\subsection dirs-description Description
|
|
|
|
`dirs` prints the current directory stack, as created by the <a href="#pushd">`pushd`</a> command.
|
|
|
|
With "-c", it clears the directory stack instead.
|
|
|
|
`dirs` does not accept any parameters.
|