> 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.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                                Live Strong.
Chet Ramey, ITS, CWRU    [EMAIL PROTECTED]    http://tiswww.tis.case.edu/~chet/


Reply via email to