unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs + ansi-term on OSX
@ 2014-01-24  6:19 Jai Dayal
  2014-01-24 15:51 ` Alp Aker
  0 siblings, 1 reply; 3+ messages in thread
From: Jai Dayal @ 2014-01-24  6:19 UTC (permalink / raw)
  To: help-gnu-emacs

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


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

end of thread, other threads:[~2014-01-24 15:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-24  6:19 emacs + ansi-term on OSX Jai Dayal
2014-01-24 15:51 ` Alp Aker
2014-01-24 15:54   ` Jai Dayal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).