Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Official plugin manager?
On Fri, 3 Jan 2020 at 04:24, dana <dana@xxxxxxx> wrote:
>
> On 2 Jan 2020, at 20:43, Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx> wrote:
> > Well yes, because I suspect that there will be a rough time on
> > establishing what the defaults are supposed to be.
>
> Right, from what i've heard, that has been an issue in the past. But it needs
> to be done to address this. OMZ did it.
>
> I really do think that novice users don't understand the significance of the
> choices you seem to be proposing (obv), and they don't want to spend 45
> minutes tapping through a wizard to have it explained to them, either. When
> they run zsh for the first time, they just want to see what it can *do* — they
> can change their history-file path later, if they want.
I've now thought that this might be reminiscent of the difference
between package-based Linux distros and Gentoo. When I've switched
recently to the second I've noticed how much freedom there is in how
the programs are installed and I've had some moments of being puzzled
"how do the RPM-based distros actually manage to provide a working
software?" or "how did I live without those options?" The answer is, I
suppose:
- the options (in configure, CMake, etc.) are always aimed at
providing all the available features,
- in case of a conflict situation (like e.g.: libressl vs libopenssl)
a tear-down (of the conflict) decision is being made that e.g.: favors
the more popular library and closes the problem and moves on.
So the history setup that would follow this guidance could be:
HISTFILE=$HOME/.zhistory
HISTSIZE=40000
SAVEHIST=$HISTSIZE
setopt hist_ignore_dups
setopt inc_append_history hist_fcntl_lock
setopt hist_ignore_space
setopt hist_lex_words
That said the param='...' way could be still useful for e.g.:
share_history as it's a different kind of setup, not a feature to
include.
--
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zplugin
Blog: http://zdharma.org
Messages sorted by:
Reverse Date,
Date,
Thread,
Author