Frank Terbeck wrote on Mon, 10 Sep 2018 02:27 +0200: > In the meantime (it's been more than seven years), I've changed my mind > about this. I think a vendor should do as little as possible in their > global configuration files.
Agreed, but there's more to it. compinit is an incredibly useful setting and it should be easy for new users to discover it. Debian does this via /etc/zsh/newuser.zshrc.recommended. Upstream does this via zsh-newuser-install. Both of these already set up compinit. Upstream's default settings are minimal, and I don't know if that will change, but there is interest upstream in making it easy for new users to discover useful settings, such as the zstyle settings in upstream's StartupFiles/zshrc. So, I guess what Frank and I are saying is: if you want better defaults, work with upstream on making that happen. Cheers, Daniel P.S. How about adding a mention of newuser.zshrc.recommended to README.Debian, so it's more discoverable? > ¹ A case could be made that this is overstepping the boundaries already. > And maybe that's true. Getting keyboard handling in a terminal right > is a hard task, however. It requires intimate knowledge about some of > the subtleties of how terminals work and about the facilities zsh of- > fers to work with those. It would be much better, if zsh did some of > this out of the box, but alas it doesn't. (The rationale is to not > break existing setups — and that's a valid argument, too.)