Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Rewrite of zsh-newuser-install (Mikael's subthread)
- X-seq: zsh-workers 48530
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Rewrite of zsh-newuser-install (Mikael's subthread)
- Date: Tue, 13 Apr 2021 14:49:25 +0000
- Archived-at: <https://zsh.org/workers/48530>
- In-reply-to: <CAN=4vMrftkOpPs+Z60YYcNw2sH59jOTHQF84=hH2=regke_Jtg@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAHYJk3Sh8ErYyObh=nURosOnj4+bsB1WsxhOi_-e=n_1fjAQ6Q@mail.gmail.com> <CAH+w=7buB+hUY6ufROgGTRc4SPzqjRuO6e4vq2gU4q_UzJH=eg@mail.gmail.com> <FF8C7887-BA44-4317-AA7C-CB2F7296F078@gmail.com> <20210407162447.GB6316@tarpaulin.shahaf.local2> <15283D59-F7B5-4A4C-AFFA-B9D3BB46963F@gmail.com> <A6A66D59-5043-46C1-B3AB-05279CB895E1@dana.is> <CAH+w=7a4i1ozOFcLbqFdPm7=XTv08hEp_NvsQ9-HgakkQn=MWQ@mail.gmail.com> <CAN=4vMrftkOpPs+Z60YYcNw2sH59jOTHQF84=hH2=regke_Jtg@mail.gmail.com>
Roman Perepelitsa wrote on Sun, Apr 11, 2021 at 00:03:18 +0200:
> On Sat, Apr 10, 2021 at 11:42 PM Bart Schaefer
> <schaefer@xxxxxxxxxxxxxxxx> wrote:
> >
> > On Sat, Apr 10, 2021 at 1:47 PM dana <dana@xxxxxxx> wrote:
> > >
> > > the proposed changes have gone beyond the scope i'd initially envisioned.
> >
> > Ditto.
>
> Likewise. I've stopped commenting on this thread when it became
> apparent that the size and complexity of the default zshrc I had in
> mind is an order of magnitude lower than what's being discussed.
>
> In my opinion, if zsh were to ship with a default zshrc (or generate
> one via a wizard), it must be REALLY simple and REALLY short. If
> someone wants to define a better zshrc with more functionality, let
> them do so and compete with oh-my-zsh. It's much better for the
> default zshrc to be too conservative than too complex.
May I mention zsh-sensible (the original one) again? Here's its zshrc
with comments removed:
[[[
PS1="%m:%~%# "
setopt INTERACTIVE_COMMENTS
HISTSIZE=1000
SAVEHIST=1000
HISTFILE=${XDG_CACHE_HOME:-"${HOME}/.cache"}/zsh_history
autoload -Uz compinit && compinit
zstyle ':completion:*' group-name ''
zstyle ':completion:*' format '>>> %d'
autoload -Uz add-zsh-hook
autoload -Uz vcs_info
_precmd_vcs_info() {
vcs_info
if [[ -n ${vcs_info_msg_0_} ]]; then
print -P -r -- ${vcs_info_msg_0_}
fi
}
add-zsh-hook precmd _precmd_vcs_info
bindkey -e
]]]
Messages sorted by:
Reverse Date,
Date,
Thread,
Author