bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why does cd change DIRSTACK?


From: Micha Wiedenmann
Subject: Re: why does cd change DIRSTACK?
Date: Sat, 16 Feb 2008 21:44:27 +0100
User-agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]