diff options
author | Marc Cornellà <marc.cornella@live.com> | 2020-09-30 19:00:51 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2020-09-30 19:00:51 +0200 |
commit | f776af2a1f5d5ced17bdeb00f7adb64ccfaa99a6 (patch) | |
tree | 7bc8260febb6ca165edbdcf27309a907a1af4c28 /plugins/compleat/compleat.plugin.zsh | |
parent | a8828aad87a900605044da2bdda7994518ddf74e (diff) | |
download | zsh-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.zsh | 7 |
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 |