From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jai Dayal Newsgroups: gmane.emacs.help Subject: How to change the bash prompt for ansi-term? Date: Wed, 8 Apr 2015 21:47:09 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1428544063 1257 80.91.229.3 (9 Apr 2015 01:47:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2015 01:47:43 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 09 03:47:42 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yg1ZG-0004r8-Gd for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Apr 2015 03:47:42 +0200 Original-Received: from localhost ([::1]:55839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yg1ZF-0001Kp-Tb for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2015 21:47:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yg1Z5-0001Kh-O3 for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 21:47:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yg1Z4-000616-Vc for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 21:47:31 -0400 Original-Received: from mail-vn0-x22c.google.com ([2607:f8b0:400c:c0f::22c]:46782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yg1Z4-00060k-Rt for help-gnu-emacs@gnu.org; Wed, 08 Apr 2015 21:47:30 -0400 Original-Received: by vnbf62 with SMTP id f62so18818374vnb.13 for ; Wed, 08 Apr 2015 18:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=6LrB7o3fAhFZdNtSXqft+LRRvM6iRSX6oeoSh9Gn7Qs=; b=wZ1k0X3g+BwKMpXJoSZXO2O7Gz5i1sgleeJUiIQBALoSJyasTI2LjDzFxclAQBS3rP CZLA2CwZNvTGDUuE73CJ2sGJj7hH9uKG/V51Uchki8JTtVoPdT7MeqsIgg3nEedAxLDO EZEbHfGvuvIdTrdmvtsgqsYr6AOivZIS1cA1d+3wr0sCSbAGrsDj7aHR4olddLTQmWPv I8dEkMYpJDwV+c/xwETWXfGILKHyDihbR9cWPKJiYOx+7yquIa2GIuB8Mg+j6oKy1Ak/ 0T13K4Ei7d+yv/DR/PWdRu4nnyLhShWz0VsKvBpbeTTPYHPartDtqEXXvY2AmN7hS3DX D0dA== X-Received: by 10.60.63.244 with SMTP id j20mr1464091oes.12.1428544050131; Wed, 08 Apr 2015 18:47:30 -0700 (PDT) Original-Received: by 10.202.197.149 with HTTP; Wed, 8 Apr 2015 18:47:09 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c0f::22c X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103595 Archived-At: Basically, I have in my .bashrc a line that changes the PS1 environment variable. When I do M-x ansi-term, the terminal doesn't seem to respect this and the prompt is very long. Any advice? Jai