Fixing dirtrack
One of the problems I’ve had with various emacsen is the shell dirtrack support. This keeps the shell-mode’s idea of what directory you’re in in sync with which one you’re actually in. At least in Aquamacs, this support is not very good, and it will break if you use bash features like CDPATH or “cd -”.
My PS1 is:
'\u!\h:\w\$ '
So I wrote this regexp to match it. It should work on a normal Debian install, too.
(":\\(.*\\)[$#] " 1)
Hit M-x customize-variable RET dirtrack-list RET and paste that in.

August 19th, 2008 at 1:48 pm
[...] Open a shell in the current directoryLast dirtrack issue solvedBetter abbrev expansion in shell-modeFixing dirtrackA problem with my dirtrack [...]