Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Rewrite of zsh-newuser-install



On Wed, Feb 10, 2021 at 1:15 AM dana <dana@xxxxxxx> wrote:
> > PS1='%F{magenta}%$(( [#10] .2 * COLUMNS ))>..>%n%f@%F{cyan}%M%f%>>:'
> > PS1+='%B%F{blue}%$(( [#10] .2 * COLUMNS ))<..<%~%b%<< '
>
> The %M (instead of %m) feels excessive. Ellipses have three dots, not two (see
> below also)

Would using the actual ellipsis character be OK? Or do we have to
stick to ASCII?


> > RPS1=' %(1S,%S${SECONDS}s%s ,)%w %T'
>
> Again the time stamp actually feels *less* useful with transient RPROMPT than
> it already did to me, and i'm also not sure if the average user really wants
> the execution time, but i'll go along with however the others feel (see below
> also)

I'm also trying to show off Zsh features to new users. If they don't
find it useful, they can always delete it. :)


> > setopt PROMPT_SUBST
>
> I think most of the devs discourage PROMPT_SUBST. If nothing else it feels a
> bit advanced for what we're trying to achieve here

Why exactly do you discourage the use of PROMPT_SUBST? Why is it a problem?




Messages sorted by: Reverse Date, Date, Thread, Author