summaryrefslogtreecommitdiff
path: root/plugins/compleat/compleat.plugin.zsh
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2020-09-30 19:00:51 +0200
committerMarc Cornellà <marc.cornella@live.com>2020-09-30 19:00:51 +0200
commitf776af2a1f5d5ced17bdeb00f7adb64ccfaa99a6 (patch)
tree7bc8260febb6ca165edbdcf27309a907a1af4c28 /plugins/compleat/compleat.plugin.zsh
parenta8828aad87a900605044da2bdda7994518ddf74e (diff)
downloadzsh-f776af2a1f5d5ced17bdeb00f7adb64ccfaa99a6.tar.gz
zsh-f776af2a1f5d5ced17bdeb00f7adb64ccfaa99a6.tar.bz2
zsh-f776af2a1f5d5ced17bdeb00f7adb64ccfaa99a6.zip
Remove redundant bashcompinit calls
Fixes #9246
Diffstat (limited to 'plugins/compleat/compleat.plugin.zsh')
-rw-r--r--plugins/compleat/compleat.plugin.zsh7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/compleat/compleat.plugin.zsh b/plugins/compleat/compleat.plugin.zsh
index 38f1b396a..247240c20 100644
--- a/plugins/compleat/compleat.plugin.zsh
+++ b/plugins/compleat/compleat.plugin.zsh
@@ -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