Bug 1226450 - disable compinit
Summary: disable compinit
Status: NEW
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Leap 15.5
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Paolo Perego
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-17 20:42 UTC by Enno Nagel
Modified: 2024-07-01 13:26 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).