dirs - print directory stack

Synopsis

dirs
dirs -c

Description

dirs prints the current directory stack, as created by pushd and modified by popd.

With "-c", it clears the directory stack instead.

dirs does not accept any parameters.

© 2019 fish-shell developers
Licensed under the GNU General Public License, version 2.
https://fishshell.com/docs/3.1/cmds/dirs.html