Remove redundant bashcompinit calls

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

No files matched your search

+2 -5
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