X-Spam-Check-By: sourceware.org From: "Dave Korn" To: 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/