[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs + ansi-term on OSX
From: |
Jai Dayal |
Subject: |
emacs + ansi-term on OSX |
Date: |
Fri, 24 Jan 2014 01:19:10 -0500 |
Hi,
I have compiled and installed gnu emacs from source (I am not using
Aquamacs or EmacsForMac), however, when I run M-x ansi-term, it does not
run my .profile script (Mac doesn't use .bashrc). How can I setup the
ansi-term to run my .profile for each bash shell it runs? I typically have
multiple ansi-shells.
I also do something like this to make spawning ansi-shells and renaming
them easier:
(defun aterm (buffer-name)
"Start a terminal and rename buffer."
(interactive "sbuffer name: ")
(ansi-term "/bin/bash")
(rename-buffer buffer-name t))
Thanks much,
Jai
- emacs + ansi-term on OSX,
Jai Dayal <=