delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: what's wrong with my cygwin command prompt? |
Date: | Wed, 22 Nov 2006 12:35:51 -0000 |
Message-ID: | <023101c70e32$be7daf10$a501a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <7487632.post@talk.nabble.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 22 November 2006 09:26, nickyeng wrote: > so , which bashrc file should i edit? > > bash.bashrc is same as bashrc file? > > what location please tell me. The system-wide default prompt is set in /etc/profile, but if you edit that, setup.exe can no longer automatically update it if any new versions of base-files come along. So it's better to make customisations to the files in your home dir. Generally, you would modify ~/.bashrc, having first made sure that ~/.bash_profile invokes .bashrc; that works for both login and nonlogin shells (and you probably don't care about the prompt for a non-interactive shell!) Read the bash info page, chapter 6.2 "Bash Startup Files" for a full explanation of which startup files get used when. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |