Bug 1226450

Summary: disable compinit
Product: [openSUSE] openSUSE Distribution Reporter: Enno Nagel <spam.catcher>
Component: BasesystemAssignee: Paolo Perego <paolo.perego>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Leap 15.5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Enno Nagel 2024-06-17 20:42:26 UTC
Ubuntu offers in

#  /etc/zsh/zshrc (lines 106-108)
# If you don't want compinit called here, place the line
# skip_global_compinit=1
# in your $ZDOTDIR/.zshenv

whereas Opensuse 

#  /etc/zshrc (lines 66-71)
# The default way is the usage of the zsh built-in completer
# Comment the two below lines out, if you are on a slow machine, and
# comment the above compctl lines in.

autoload -U compinit
compinit

However, not all users are admins of their (Open)Suse installation and can edit system files which are overriden by packages updates anyway.
Therefore, how about allowing the user to disable the compinit as well?
(One benefit being a many times faster startup time on some systems).