mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-01 23:24:21 +08:00
02d82dcf85
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.
21 lines
530 B
ReStructuredText
21 lines
530 B
ReStructuredText
.. _cmd-dirh:
|
|
|
|
dirh - print directory history
|
|
==============================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
::
|
|
|
|
dirh
|
|
|
|
Description
|
|
-----------
|
|
|
|
``dirh`` prints the current 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 ``cd`` command limits directory history to the 25 most recently visited directories. The history is stored in the ``$dirprev`` and ``$dirnext`` variables.
|