Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Rewrite of zsh-newuser-install
- X-seq: zsh-workers 47956
- From: Lawrence Velázquez <vq@xxxxxxxxx>
- To: Marlon Richert <marlon.richert@xxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: Rewrite of zsh-newuser-install
- Date: Mon, 8 Feb 2021 18:33:30 -0500
- Archived-at: <https://zsh.org/workers/47956>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-workers/2021-02/27C00E77-16D5-4D94-9791-5EC5E516FF89%40larryv.me>
- In-reply-to: <CAHLkEDur33X5s7Ar8n-9zQR0GqoZm3u_8rPRF3P-Jf=v90aLUA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAHLkEDv8KDW0iy+EtLXRgFOzgF1BbK5rEKjNBO-=NNUeKR9Xwg@mail.gmail.com> <0102017778f35f33-a962e4d3-83e9-4d3b-a0d7-45701bb40b11-000000@eu-west-1.amazonses.com> <CAHLkEDvL8+32tFQ1n6=SsaRMFQB3U2Di=6qpHtNBz8SkwzH7Zg@mail.gmail.com> <D6B297FA-044D-4F4E-8110-D6F4E2058EFE@larryv.me> <CAHLkEDvToxSvZWGMg7MKkFXjjWEefXW8e=gd+0e5RmuBLkVWEw@mail.gmail.com> <CAN=4vMqjYNtm3KSq47kC_2O4k3=hzF7qwN0sK9deCNgc2xK=kg@mail.gmail.com> <CAHLkEDvrcTdW2B3mxFAj8a7Wmfz-0KHGJkvi5hEdcCFSaP64NA@mail.gmail.com> <8BA25288-0FFB-4FF4-9799-541D6A3C52DA@dana.is> <CAHLkEDvWsv=hTHJ+70d1RQM7sH5_w94LYKhgrV2=vNMTchnx8w@mail.gmail.com> <CAHLkEDur33X5s7Ar8n-9zQR0GqoZm3u_8rPRF3P-Jf=v90aLUA@mail.gmail.com>
> On Feb 8, 2021, at 4:57 PM, Marlon Richert <marlon.richert@xxxxxxxxx> wrote:
>
> All right, here is my first draft:
> https://gitlab.com/marlonrichert/zsh-sensible/-/blob/master/zshrc
> setopt HIST_IGNORE_ALL_DUPS # Ensure all history items are unique.
> setopt HIST_REDUCE_BLANKS # Remove insignificant whitespace.
I know that a lot of people like modifying their history automatically
(including me!), but doing so by default is essentially silent data
corruption. I think this is the kind of thing users need to actively
opt into.
> setopt SHARE_HISTORY # All simultaneous sessions use the same history.
Similarly, while it's neat if you're into it, in my opinion constant
importing of other sessions' histories is too much action-at-a-distance
to enable without an explicit opt-in.
I haven't really thought about the rest.
vq
Messages sorted by:
Reverse Date,
Date,
Thread,
Author