1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 07:20:40 +01:00

Remove redundant bashcompinit calls

Fixes #9246
This commit is contained in:
Marc Cornellà
2020-09-30 19:00:51 +02:00
parent a8828aad87
commit f776af2a1f
5 changed files with 2 additions and 10 deletions

View File

@@ -10,11 +10,8 @@ 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