From: Jai Dayal <dayalsoap@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: emacs + ansi-term on OSX
Date: Fri, 24 Jan 2014 01:19:10 -0500 [thread overview]
Message-ID: <CAMJ-YiQOdW98pDP0xN_c_0dWC861px83CtEgRvUY-n6vGDwMbQ@mail.gmail.com> (raw)
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
next reply other threads:[~2014-01-24 6:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-24 6:19 Jai Dayal [this message]
2014-01-24 15:51 ` emacs + ansi-term on OSX Alp Aker
2014-01-24 15:54 ` Jai Dayal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAMJ-YiQOdW98pDP0xN_c_0dWC861px83CtEgRvUY-n6vGDwMbQ@mail.gmail.com \
--to=dayalsoap@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.