fish-shell/sphinx_doc_src/cmds/dirs.rst
2019-10-16 09:05:59 +02:00

21 lines
361 B
ReStructuredText

.. _cmd-dirs:
dirs - print directory stack
============================
Synopsis
--------
::
dirs
dirs -c
Description
-----------
``dirs`` prints the current 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.