mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 13:33:02 +08:00
8d20748f4a
This PR also adds "See Also" section in the related commands.
27 lines
522 B
ReStructuredText
27 lines
522 B
ReStructuredText
.. _cmd-dirs:
|
|
|
|
dirs - print directory stack
|
|
============================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
::
|
|
|
|
dirs
|
|
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.
|