<<< Date Index >>>     <<< Thread Index >>>

Re: [PATCH] Create a "cd" command to change the current directory



> I think it's a good idea, but it'll have to queue up behind bug
> fixes. It would be nice to try to clean up other path handling warts
> (LastDir vs attachments, local vs IMAP) when we do this.

Alongside a cd I'd like to see a pushd/popd.  Cd could even be the pushd
operation.  Personally I don't care how deep the stack is or whether
it's finite at all.  The most common use case only needs a depth of 1.

I have a generic variable-stacking patch I could dredge up if the
stack-handling code is useful for this.  (Not that it'd be hard to write
from scratch, but who's not short on time?)

-- 
 -D.    dgc@xxxxxxxxxxxx    NSIT    University of Chicago