- Fix bsc#1226450. Placing skip_global_compinit=1 in your $ZDOTDIR/.zshenv

disables compinit from being called

OBS-URL: https://build.opensuse.org/package/show/shells/zsh?expand=0&rev=257
This commit is contained in:
Paolo Perego 2025-03-03 16:14:21 +00:00 committed by Git OBS Bridge
parent 9626a37df7
commit dc307385ae
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 3 16:12:24 UTC 2025 - Paolo Perego <paolo.perego@suse.com>
- Fix bsc#1226450. Placing skip_global_compinit=1 in your $ZDOTDIR/.zshenv
disables compinit from being called
-------------------------------------------------------------------
Mon Mar 3 15:52:59 UTC 2025 - Paolo Perego <paolo.perego@suse.com>

9
zshrc
View File

@ -63,8 +63,13 @@ unsetopt hup
# Comment the two below lines out, if you are on a slow machine, and
# comment the above compctl lines in.
autoload -U compinit
compinit
# If you don't want compinit called here, place the line
# skip_global_compinit=1
# in your $ZDOTDIR/.zshenv
if [[ -z "$skip_global_compinit" ]]; then
autoload -U compinit
compinit
fi
# Completion so "cd ..<TAB>" -> "cd ../"
# zstyle ':completion:*' special-dirs ..