Regardless, pushd/popd/dirs is a tough experience. Seems capable of a lot, but I only use it for bouncing between two directories, typically.
The tool I like, but can't remember the name of is basically 'cd ${PWD:src/tst}'. Only, a little more terse.
Haven't used it in a while either, since I've primarily switched to eshell.
I definitely use aliases for multiple frequently accessed directories.
`kdev` takes me to my work dev folder, `wpdev` takes me to my wordpress folder, etc.
But I definitely see the points parent comment to yours made.
And yes, the primary goal of writing this was to have a small CLI app in Haskell, but I've found that I use teleport a decent amount now to quickly zip between common folders
Meant to clarify, I was not defending pushd/popd. It is a tough experience. Not a tough experience to beat. And pedagogical is a perfectly fine motivation.
On the other hand, teleport seems to actually provide a much better UX than pushd/popd:
1. it's a hash-table not a stack (directories are named), so it allows random access to memorized directories.
2. it is possible to display the current state.
3. remembered directories are persistent between shell sessions.