fish-shell/sphinx_doc_src/cmds/dirs.rst
David Adam 02d82dcf85 docs: update all command synopsis formatting
Adds synopses for those commands missing them.

Moves all synopsis sections to code blocks. This improves the appearance, although highlighting as
fish code may not be the ideal appearance.
2019-09-17 17:59:04 +08:00

22 lines
334 B
ReStructuredText

.. _cmd-dirs:
dirs - print directory stack
============================
Synopsis
--------
::
dirs
dirs -c
Description
-----------
``dirs`` prints the current directory stack, as created by the :ref:`pushd <cmd-pushd>` command.
With "-c", it clears the directory stack instead.
``dirs`` does not accept any parameters.