From owner-freebsd-questions Mon Aug 3 12:45:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26496 for freebsd-questions-outgoing; Mon, 3 Aug 1998 12:45:10 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from www.schell.de ([195.20.238.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26409 for ; Mon, 3 Aug 1998 12:44:45 -0700 (PDT) (envelope-from sas@schell.de) Received: from localhost (sas@localhost [127.0.0.1]) by www.schell.de (8.9.0/8.9.0) with SMTP id VAA01185; Mon, 3 Aug 1998 21:44:15 +0200 Date: Mon, 3 Aug 1998 21:44:14 +0200 (MET DST) From: Sascha Schumann To: patl@phoenix.volant.org cc: William Woods , "freebsd-questions@FreeBSD.ORG" Subject: Re: BASH prompt question In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 3 Aug 1998 patl@phoenix.volant.org wrote: > > > > > > > > > I would like to make my bash prompt show a little more info, like > > > > > what dir the user is in. How would I do this? > > > > > > > > Edit /etc/profile and insert at the end: > > > > > > > > ... > > > > > > Aaaaccckkkk!!! NO, NO, NO, this is the sort of -personal preference- > > > customization that should NOT be placed in system-wide config files. > > > Even if you are (currently) the only user of that machine. Let's not > > > encourage any bad habits. > > > > Huh? If one enables per-user settings I wouldn't consider that bad. > > /etc/profile is system-wide. Everybody who uses a Bourne-type shell > will be affected by it's contents. Non-standard prompts; particularly > ones that may be quite lengthy, are a personal preference. They should > be kept in personal config files. For Bash, that's ~/.bashrc and/or > ~/.bash_profile. (Depending on whether you want it executed every time > a shell starts; or only for login shells. 'Man bash' for details.) Thats exactly what I said. Read (and think) before you post ... Greetings, Sascha To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message