mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 03:13:37 +08:00
5e880bb1c3
This is continuing the work I've been doing to remove the :: formatting for the synopsis sections of our manual pages.
24 lines
513 B
ReStructuredText
24 lines
513 B
ReStructuredText
.. _cmd-dirs:
|
|
|
|
dirs - print directory stack
|
|
============================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
``dirs`` [*-c*]
|
|
|
|
Description
|
|
-----------
|
|
|
|
``dirs`` prints the current :ref:`directory stack <directory-stack>`, as created by :ref:`pushd <cmd-pushd>` and modified by :ref:`popd <cmd-popd>`.
|
|
|
|
With "-c", it clears the directory stack instead.
|
|
|
|
``dirs`` does not accept any parameters.
|
|
|
|
See Also
|
|
--------
|
|
|
|
- the :ref:`cdh <cmd-cdh>` command which provides a more intuitive way to navigate to recently visited directories.
|