From owner-freebsd-chat Tue Jul 27 15:41:29 1999 Delivered-To: freebsd-chat@freebsd.org Received: from shell.futuresouth.com (shell.futuresouth.com [198.78.58.28]) by hub.freebsd.org (Postfix) with ESMTP id 5221C153E7 for ; Tue, 27 Jul 1999 15:41:21 -0700 (PDT) (envelope-from fullermd@futuresouth.com) Received: (from fullermd@localhost) by shell.futuresouth.com (8.9.3/8.9.3) id RAA14488; Tue, 27 Jul 1999 17:40:37 -0500 (CDT) Date: Tue, 27 Jul 1999 17:40:37 -0500 From: "Matthew D. Fuller" To: Ollivier Robert Cc: chat@FreeBSD.ORG Subject: Re: What to tell to Linux-centric people?! Message-ID: <19990727174037.I12369@futuresouth.com> References: <19990727075026.A27880@keltia.freenix.fr> <19990727234225.A33009@keltia.freenix.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <19990727234225.A33009@keltia.freenix.fr>; from Ollivier Robert on Tue, Jul 27, 1999 at 11:42:25PM +0200 X-OS: FreeBSD Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, Jul 27, 1999 at 11:42:25PM +0200, a little birdie told me that Ollivier Robert remarked > According to Doug: > > > How fancy do you want? :) Take a look at > > http://home.san.rr.com/freebsd/Bash-prompts.txt. > > Is this a contest ? :) > > Here is mine (zsh / tcsh): > > PS1="%h [%T] %B%n%b@%m:%B%2.%(#.#.>)%b " > export PS1 > -=-=- > set prompt="%h [%T] %B%n%b@%m:%B%.2%#%b " Wimp :P See http://www.over-yonder.net/~fullermd/projects.html and link to my .tcshrc. Digested prompt: set prompt="%B[%P]%b %m:%~\n(%l):{%h}%% " The bored who read the full thing will note that %m can become %M based on a value in a seperate config file, and that a completely seperate and distinctive prompt is used if EUID==0. > > Personally I think this is another plus in bash's favor. > > You should care if you write scripts with the shell where I mostly use the > sell only for interactive purposes. Most of my scripting is done in more or > less pure sh if less than 10 lines and in Perl if more :) Indeed. I LIKE using a different shell for scripting than interactive. Interactive, tcsh is perfect. Scripting, /bin/sh works great for me; anything too complicated for that is what Perl is made for. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Unix Systems Administrator | fullermd@futuresouth.com Specializing in FreeBSD | http://www.over-yonder.net/ FutureSouth Communications | ISPHelp ISP Consulting "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message