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

Re: Rewrite of zsh-newuser-install




> On 5. Apr 2021, at 21.16, Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
> 
> 1. Errors from «mkdir ZDOTDIR» are discarded.
> 
> 2. Uses of eval are unsafe (lack ${(q)}) and unnecessary.
> 
> 3. That also applies to the munging of $template.
> 
> 4. "$zshrc~" is silently overwritten

Thanks, I’ll try to fix those.


> 6. Outputting `man zsh' in two different colours is confusing.
> 
> 7. zsh's homepage is https://www.zsh.org/.
> 
> 8. zrestart doesn't handle $ZDOTDIR.
> 
> 9. For educational purposes, printing should use «print -r --» throughout.

Same for these.


> 18. Show how to use terminal colours/attributes other than the basic
> ones.  E.g., I use ${terminfo[dim]} in some places.

Sure, that sounds like a good idea. I wasn’t aware of $terminfo[dim].





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