Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Rewrite of zsh-newuser-install
- X-seq: zsh-workers 48027
- From: Oliver Kiddle <opk@xxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: Rewrite of zsh-newuser-install
- Date: Sat, 13 Feb 2021 00:43:44 +0100
- Archived-at: <https://zsh.org/workers/48027>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/64316-1613173424.279729%40tYnf.cGen.pSSF>
- In-reply-to: <670CED5D-45CA-427D-81DE-B381D9D8CE49@gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7Y3nL4QRJJYk9dQ32TuHsCvdSC_hCboyhAc9ar08KdJLw@mail.gmail.com> <670CED5D-45CA-427D-81DE-B381D9D8CE49@gmail.com>
Marlon Richert wrote:
> Incidentally, I append -$ZSH_VERSION to the compdump file name.
>
> That’s not necessary. compdump saves $ZSH_VERSION in the compdump file and
> compinit checks for it: [1]https://github.com/zsh-users/zsh/blob/
It's useful for someone who regularly switches between zsh versions and
wants to reduce how often they get regenerated but doesn't mind clearing
out old ones from time to time. For Bart, it likely makes sense. For the
average new user, not.
I hash the combination of $HOST and $FPATH (the latter typically
includes the version number) to create a suffix. The hostname can matter
with an NFS shared home directory which is probably not as common as it
once was.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author