all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* using aliases to change dir in emacs shell
@ 2002-08-29 23:24 Usman Muzaffar
  2002-08-30 12:58 ` Kai Großjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Usman Muzaffar @ 2002-08-29 23:24 UTC (permalink / raw)


Hi - 

I have a bunch of aliases (tcsh) which shuttle me around directories.
Ex:

alias testdir pushd ~/proj/test

These work just fine most of the time (telnet, xterm, etc). It also
works in emacs, but now emacs doesn't know where I am. Normally in
shell mode emacs seems to watch for 'cd <dir>' and change the current
working dir for opening files (ie, if I C-x C-f from the shell buffer,
I'm prompted to open file from wherever my shell is), etc.

How can I get emacs to notice when my dir changes happen via my
aliases instead of cd ?

thanks,
usman

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: using aliases to change dir in emacs shell
  2002-08-29 23:24 using aliases to change dir in emacs shell Usman Muzaffar
@ 2002-08-30 12:58 ` Kai Großjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2002-08-30 12:58 UTC (permalink / raw)


net@muzaffar.org (Usman Muzaffar) writes:

> How can I get emacs to notice when my dir changes happen via my
> aliases instead of cd ?

M-x dirs RET or M-x shell-resync-dirs RET.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-08-30 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-29 23:24 using aliases to change dir in emacs shell Usman Muzaffar
2002-08-30 12:58 ` Kai Großjohann

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.