3 ms·
To tidy up dirs's output: d () { dirs -p | nl -v 0; } The numbers in the left-hand column correspond to offsets from top-of-stack. So, if you see $ d
by everybodyknows 8y ago
To tidy up dirs's output:
d () { dirs -p | nl -v 0; }
The numbers in the left-hand column correspond to offsets from top-of-stack. So, if you see
$ d
0 ~
1 /var/log/apt
to switch back to /var/log/apt, you could type:
$ pushd +1