mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
fix(bun): bun completions should explicitly set SHELL
`bun completions` results in a file according to the current $SHELL, but if you don´t have ZSH as your $SHELL, the plugin will create a bash script as the completions script. This commit fixes that case. Users with broken completions probably need to remove their `$ZSH_CACHE_DIR/completions/_bun` so it is created again.
This commit is contained in:
parent
5233759206
commit
f5795c31a2
1 changed files with 1 additions and 1 deletions
|
|
@ -11,4 +11,4 @@ if [[ ! -f "$ZSH_CACHE_DIR/completions/_bun" ]]; then
|
|||
_comps[bun]=_bun
|
||||
fi
|
||||
|
||||
bun completions >| "$ZSH_CACHE_DIR/completions/_bun" &|
|
||||
SHELL=zsh bun completions >| "$ZSH_CACHE_DIR/completions/_bun" &|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue