Hi, for Emacs you can define your shell-mode aliases in .emacs.d/init_bash.sh, but Aquamacs (2.0 on OS X 10.5) does not seem to use this. Is there another place where these can be defined?
+1
A:
From shell.el:
If a file
~/.emacs_SHELLNAME' exists, or
~/.emacs.d/init_SHELLNAME.sh', it is given as initial input (but this may be lost, due to a timing error, if the shell discards input when it starts up). The buffer is put in Shell mode, giving commands for sending input and controlling the subjobs of the shell. Seeshell-mode'. See also the variable
shell-prompt-pattern'.
So you might want to try seeing whether ~/.emacs_bash works.
Nils
2010-08-18 12:35:12
Wow...that actually worked! But from that description there's no reason to suspect ~/.emacs.d/init_bash.sh wouldn't work. But I just created a link to that file (as .emacs_bash). Thanks!
Stephen
2010-08-19 01:10:20