help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Can I make "cd" in shell work like eshell?


From: C K Kashyap
Subject: Re: Can I make "cd" in shell work like eshell?
Date: Thu, 28 Aug 2014 12:05:27 +0530

Thanks Doug ... for some reason I find that things are working on its own.
Shell cd is indeed changing the current dir :)

regards,
Kashyap


On Wed, Aug 27, 2014 at 8:36 PM, Doug Lewan <address@hidden>
wrote:

> Shell mode tries its best to keep track of your current directory, but it
> can't always.
>
> You can synch shell-mode with the shell inside it by M-<RET> (M-x
> shell-resync-dirs).
>
> Be careful though! You have to be at a shell prompt since emacs runs a
> command and then uses its output to figure out the current directory.
>
> ,Doug
> Douglas Lewan
> Shubert Ticketing
> (201) 489-8600 ext 224 or ext 4335
>
> "This is a slow pup," he said continuing his ascent.
>
>
> > -----Original Message-----
> > From: address@hidden
> > [mailto:address@hidden On
> > Behalf Of C K Kashyap
> > Sent: Wednesday, 2014 August 27 05:40
> > To: address@hidden
> > Subject: Can I make "cd" in shell work like eshell?
> >
> > Hi,
> > I am doing some windows development these days for which I find "shell"
> > more suitable than eshell.
> > However, when I do cd and visit a directory in shell and then I do c-x
> > - f,
> > it does not open in the cd'ed location. How can I make that happen?
> > Regards,
> > Kashyap
>


reply via email to

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