The problem with: dirs, pushd, popd is that they output a single line of
paths that's difficult to parse visually quickly, especially when there are
many paths in the dir stack and the path
names are long.

dirs offers a reasonable solution with the -v option

Unfortunately popd and pushd do NOT offer this option.

Using an alias solution:

  popd | sed 's/\s/\n/g' | nl

doesn't work, probably because they are shell built-ins.

I'd recommend the addition of the -v option to popd and pushd, or a fix so
that an alias like the one outline above, works.

Appreciate your comments and feedback on this.

-Pete

Reply via email to