From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Will Parsons Newsgroups: gmane.emacs.help Subject: .emacs_bash Date: 5 Jan 2006 02:25:51 GMT Message-ID: Reply-To: ellenophilos@yahoo.com NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1136428425 7930 80.91.229.2 (5 Jan 2006 02:33:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 5 Jan 2006 02:33:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 05 03:33:37 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EuKrg-0006Q6-IF for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Jan 2006 03:28:35 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuKtO-0004Tn-5i for geh-help-gnu-emacs@m.gmane.org; Wed, 04 Jan 2006 21:30:18 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-X-Trace: individual.net 8Bi9Kryf73AexnaKjhIBKgpAoAjcm5TZOQHYaIKoakpa9U0OYW User-Agent: slrn/0.9.8.1 (Debian) Original-Xref: shelby.stanford.edu gnu.emacs.help:136818 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32437 Archived-At: 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