Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Official plugin manager?
Peter Stephenson wrote on Fri, Jan 03, 2020 at 15:00:09 +0000:
> On Thu, 2020-01-02 at 21:26 -0600, dana wrote:
> > On 2 Jan 2020, at 20:45, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> > >
> > > It has been our long-standing practice to recommend that package
> > > builders/installers do NOT create /etc/z* files, or make them minimal,
> > > so as not to interfere with users own initialization files. Maybe
> > > it's time to relax that, or at least to provide a suggested skeleton
> > > .zshrc -- which we could connect to zsh-newuser-install to be slurped
> > > in without having to go through all the questions if you just want to
> > > "feel lucky".
> > The latter is what i'm suggesting, yeah. Dumb down the wizard a bit, add a
> > flashy option to the first screen that says 'do the cool things (recommended)'
> > or whatever, and have it install a well-commented .zshrc with the settings
> > that that a novice/casual user would look for.
>
> I tend to agree with the thrust of this --- feedback over the years has
> been quite strongly people don't want to do anything clever; the difficulty
> remaining is what sort of basic set up to copy in instead. But yes,
> whatever that is it should probably be something prepared elsewhere and
> copying in that should probably be the highlighted / default option.
I agree: my take-away from the discussion is that there's room for a "sensible
defaults" thingy (be it a zshrc template or a plugin). Shall we create
a github/gitlab repo to work on that in?
Cheers,
Daniel
P.S. Some ideas for what to have there:
- compinit
- PS1
(what to include? %m, %~, $SHLVL, %?, $(tty)? Probably have zstyle's or something to enable/disable parts of that.)
- vcs_info
[Some additional vcs_info settings? E.g., during rebases I show the topmost
applied-patch (= the one that conflicted); I think that's not the default…]
- a certain syntax highlighting plugin :P
Messages sorted by:
Reverse Date,
Date,
Thread,
Author