You are not logged in.
Pages: 1
I really like the cd and dirs -v setting in zsh,
[0:21] [/home/rusty/files/books/linux/linux.bible.2008]
> dirs -v
0 ~/files/books/linux/linux.bible.2008
1 ~/files/books/linux
2 ~/files/books
3 ~/files
4 ~
From here if I issue cd +2 it brings me back up 2 levels as intended, cd - will return me to the previous folder I was in, but cd -2 doesn't due to the way it works as default.
Is there a way to maintain folder hierachy rather than rotating the current folder to 0?
Offline
Pages: 1