Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jul 1999 13:15:26 -0400
From:      Christopher Masto <chris@netmonger.net>
To:        "Matthew D. Fuller" <fullermd@futuresouth.com>, Ollivier Robert <roberto@keltia.freenix.fr>
Cc:        chat@FreeBSD.ORG
Subject:   Re: What to tell to Linux-centric people?!
Message-ID:  <19990729131526.B8627@netmonger.net>
In-Reply-To: <19990727174037.I12369@futuresouth.com>; from Matthew D. Fuller on Tue, Jul 27, 1999 at 05:40:37PM -0500
References:  <19990727075026.A27880@keltia.freenix.fr> <Pine.BSF.4.05.9907271242540.1387-100000@dt011n65.san.rr.com> <19990727234225.A33009@keltia.freenix.fr> <19990727174037.I12369@futuresouth.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 27, 1999 at 05:40:37PM -0500, Matthew D. Fuller wrote:
> 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}%% "

I have this abomination from when I first switched to zsh.. I'm not
proud.

function Sf () {
        echotc me
        [[ $1 != '-' ]] && echotc AF $1
        [[ -n $2 && $2 != '-' ]] && echotc AB $2
        [[ $3 -ne 0 ]] && echotc md
}

PS1=%{`Sf 6 4`%}%n%{`Sf 7 4`%}@%{`Sf 3 4 1`%}%m%{`Sf 7 4`%}:%{`Sf 6 4 1`%}%~%{`Sf 2 0 1`%}%(#.#.\$)%{`Sf - - 0`%}' '


-- 
Christopher Masto         Senior Network Monkey      NetMonger Communications
chris@netmonger.net        info@netmonger.net        http://www.netmonger.net

Free yourself, free your machine, free the daemon -- http://www.freebsd.org/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990729131526.B8627>