dirs [-c]
dirs prints the current directory stack, as created by pushd and modified by popd.
The following options are available:
Clear the directory stack instead of printing it.
Displays help about using this command.
dirs does not accept any arguments.
© 2005-2009 Axel Liljencrantz, 2009-2026 fish-shell contributors
Licensed under the GNU General Public License, version 2.
https://fishshell.com/docs/4.5/cmds/dirs.html