mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
5e880bb1c3
This is continuing the work I've been doing to remove the :: formatting for the synopsis sections of our manual pages.
25 lines
783 B
ReStructuredText
25 lines
783 B
ReStructuredText
.. _cmd-dirh:
|
|
|
|
dirh - print directory history
|
|
==============================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
``dirh``
|
|
|
|
Description
|
|
-----------
|
|
|
|
``dirh`` prints the current :ref:`directory history <directory-history>`. The current position in the history is highlighted using the color defined in the ``fish_color_history_current`` environment variable.
|
|
|
|
``dirh`` does not accept any parameters.
|
|
|
|
Note that the :ref:`cd <cmd-cd>` command limits directory history to the 25 most recently visited directories. The history is stored in the ``$dirprev`` and ``$dirnext`` variables.
|
|
|
|
See Also
|
|
--------
|
|
|
|
- the :ref:`cdh <cmd-cdh>` command to display a prompt to quickly navigate the history
|
|
- the :ref:`prevd <cmd-prevd>` command to move backward
|
|
- the :ref:`nextd <cmd-nextd>` command to move forward
|