unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* .emacs_bash
@ 2006-01-05  2:25 Will Parsons
  2006-01-05  9:32 ` .emacs_bash Peter Dyballa
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Will Parsons @ 2006-01-05  2:25 UTC (permalink / raw)


For quite a long time now I've been mildly annoyed that when I invoke a 
shell (bash) under Emacs (running in a GNU/Linux system) that I get a string
of prompts, like:

1 isis$ 2 isis$ 3 isis$ 4 isis$ 5 isis$ 

(PS1 is set to '\! \h\$ '.)

I finally got around to tracking this down, and it appears it's being caused
by .emacs_bash.  In ~/.bashrc, I have:

export LS_OPTIONS=--color

so that I have pretty colours in ls output, but since this screws up ls 
output under Emacs, I created the following .emacs_bash:

======
#  .emacs_bash
#  This file contains additional commands to be run after starting up the
#  bash shell under emacs.
unset LS_OPTIONS
======

If I remove this file, the multiple prompts go away (and I have the screwed
up ls output), but I don't understand why it causes the multiple prompts.

- Will

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: Dired and wild cards
@ 2006-01-25 21:42 Jay Bingham
  0 siblings, 0 replies; 10+ messages in thread
From: Jay Bingham @ 2006-01-25 21:42 UTC (permalink / raw)


on Wednesday, January 25, 2006 3:06 PM Tim Johnson wrote:

> In XEmacs, I can do the follow:
> C-x, d and then at the prompt, put in "*.html" 
> and get a wild card listing.

> In GNU Emacs, I have to do
> M-: and then (dired "*.html").
> Is there easier way to do this in GNU Emacs?

Not having used XEmacs in ages I am not remembering what it does in response to C-x d, in Emacs C-x d starts dired mode on the directory specified while C-x C-d gives a list of directories.
AFAIK both commands will accept wild cards.  Have you tried it?

__
J_)
C_)ingham


______________________________________________________________________
Call Anyone, Anytime, Anywhere in the World - FREE!
Free Internet calling from NetZero Voice
Visit http://www.netzerovoice.com today!

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

end of thread, other threads:[~2006-01-27 18:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-05  2:25 .emacs_bash Will Parsons
2006-01-05  9:32 ` .emacs_bash Peter Dyballa
2006-01-22 22:27 ` .emacs_bash Will Parsons
2006-01-23 18:55   ` .emacs_bash Peter Dyballa
2006-01-23 16:10 ` .emacs_bash stpap
2006-01-25 21:05   ` Dired and wild cards Tim Johnson
2006-01-25 21:09     ` Drew Adams
     [not found]     ` <mailman.136.1138223551.2878.help-gnu-emacs@gnu.org>
2006-01-27 12:56       ` Tim Johnson
2006-01-27 18:32       ` Tim Johnson
  -- strict thread matches above, loose matches on Subject: below --
2006-01-25 21:42 Jay Bingham

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).