mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 07:20:40 +01:00
Revert "Remove redundant bashcompinit calls"
This reverts commit f776af2a1f.
Fixes #9314
This commit is contained in:
@@ -10,8 +10,11 @@ if (( ${+commands[compleat]} )); then
|
||||
local setup="${prefix}/share/compleat-1.0/compleat_setup"
|
||||
|
||||
if [[ -f "$setup" ]]; then
|
||||
if ! bashcompinit >/dev/null 2>&1; then
|
||||
autoload -U bashcompinit
|
||||
bashcompinit -i
|
||||
fi
|
||||
|
||||
source "$setup"
|
||||
fi
|
||||
|
||||
unset prefix setup
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user