fish-shell/sphinx_doc_src/cmds/dirs.rst

21 lines
323 B
ReStructuredText
Raw Normal View History

.. _cmd-dirs:
dirs - print directory stack
============================
Synopsis
--------
dirs
dirs -c
Description
-----------
2019-03-31 09:24:04 +00:00
``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.