mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Revert "Remove redundant bashcompinit calls"
This reverts commit f776af2a1f.
Fixes #9314
This commit is contained in:
parent
fbb2b56c7e
commit
6ebf27b8d3
5 changed files with 10 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue