* Can I tell term to not use my .bashrc?
@ 2003-10-16 18:53 Dan Anderson
0 siblings, 0 replies; 2+ messages in thread
From: Dan Anderson @ 2003-10-16 18:53 UTC (permalink / raw)
I really like using M-x term in emacs when I use need a shell. But my
.bashrc has a bunch of code that is causing Emacs to display a bunch of
gibberish when I run it with bash. Is there something I can set in my
.emacs to not use my .bashrc?
Thanks in advance,
-Dan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Can I tell term to not use my .bashrc?
[not found] <mailman.1825.1066330436.21628.help-gnu-emacs@gnu.org>
@ 2003-10-16 19:33 ` Barry Margolin
0 siblings, 0 replies; 2+ messages in thread
From: Barry Margolin @ 2003-10-16 19:33 UTC (permalink / raw)
In article <mailman.1825.1066330436.21628.help-gnu-emacs@gnu.org>,
Dan Anderson <dan@mathjunkies.com> wrote:
>I really like using M-x term in emacs when I use need a shell. But my
>.bashrc has a bunch of code that is causing Emacs to display a bunch of
>gibberish when I run it with bash. Is there something I can set in my
>.emacs to not use my .bashrc?
M-x term asks for the command line to run; if you supply the -norc option
to bash, it won't run .bashrc.
A better solution might be to have your .bashrc check the terminal type.
If it's "eterm", don't run the code that displays the gibberish.
--
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-10-16 19:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.1825.1066330436.21628.help-gnu-emacs@gnu.org>
2003-10-16 19:33 ` Can I tell term to not use my .bashrc? Barry Margolin
2003-10-16 18:53 Dan Anderson
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).