mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Prevent running compinit twice
This commit is contained in:
@@ -629,5 +629,8 @@ __bun_dynamic_comp() {
|
||||
return $comp
|
||||
}
|
||||
|
||||
autoload -U compinit && compinit
|
||||
if ! command -v compinit >/dev/null; then
|
||||
autoload -U compinit && compinit
|
||||
fi
|
||||
|
||||
compdef _bun bun
|
||||
|
||||
Reference in New Issue
Block a user