aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/dirh.txt
blob: 77e03e1852cb616a8de529956e399ed047bfbb0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\section dirh dirh - print directory history

\subsection dirh-synopsis Synopsis
\fish{synopsis}
dirh
\endfish

\subsection dirh-description 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.