Chet Ramey schrieb:
I don't understand why cd changes DIRSTACK. From the manpage I got the impression that only pushd and popd change DIRSTACK (besides dir -c).The current directory is always the first entry in the directory stack (index 0). As such, cd will always change it.
Is there anyone using pushd, popd and dirs? If so, please explain how you use it, I tried to describe in my first mail, what I think should be changed to make push, popd, and dirs useful.
Chears, Micha