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

Re: Rewrite of zsh-newuser-install



On Wed, Mar 24, 2021 at 7:45 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> > 2. HISTFILE location: XDG conventions suggest putting things in
> >    .cache/zsh
>
> Discussed this too, and rejected dependence on XDG, I believe.

"Rejected" is a bit of an overstatement. I instead made it a choice in
the `zsh-newuser-install` wizard:
https://gitlab.com/marlonrichert/zsh-sensible/-/blob/master/zsh-newuser-install

To safely try out the new wizard, do this:

% cd $(mktemp -d)
% git clone --depth 1 -- https://gitlab.com/marlonrichert/zsh-sensible.git
% unset _comp_dumpfile ZDOTDIR XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME
% FPATH=$PWD/zsh-sensible:$FPATH HOME=$PWD PS1='%# ' exec zsh

Then the wizard will start automatically, but without affecting your
current dotfiles.




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