Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: regarding login prompt
- X-seq: zsh-users 11777
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: regarding login prompt
- Date: Wed, 15 Aug 2007 09:18:12 -0500
- Cc: ZSH Users <zsh-users@xxxxxxxxxx>
- In-reply-to: <200708150827.l7F8RwH3028318@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <ecc395cb0707130555n2b2a1622r2875d90727997e15@xxxxxxxxxxxxxx> <200707131301.l6DD1pFF018924@xxxxxxxxxxxxxx> <87wsvxtpgt.fsf@xxxxxxxxxxxxxxx> <200708150827.l7F8RwH3028318@xxxxxxxxxxxxxx>
In the last episode (Aug 15), Peter Stephenson said:
> Boyd Adamson wrote:
> > OT: Out of interest, why is it that zsh uses the % by convention? It
> > seems (as a relative newcomer) to be more rooted in the bourne shell
> > tradition, yet the % has historically been used by csh.
>
> Zsh was originally written to make csh users feel at home in a ksh-like
> environment, so the interactive features that didn't affect scripting
> often looked a lot like csh.
>
> It might well have been different if it were done now, but actually I'm
> quite happy with "%" since "\" is already rather overloaded in shells.
I think Boyd was asking about the default prompt character being % vs
$, not the format specifier within more complex prompt strings.
Luckily, your first paragraph works as an explanation in either case :)
--
Dan Nelson
dnelson@xxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author