aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Dylan Conway <35280289+dylan-conway@users.noreply.github.com> 2023-08-29 01:49:12 -0700
committerGravatar GitHub <noreply@github.com> 2023-08-29 01:49:12 -0700
commit07d8623976cd5fe1b11dd13f6988cd02e4fc5c15 (patch)
tree03d4b8fb4f3c9fe070aa62e1055e91e4096b629b /src
parentc53372c9f34fe9cbcc2fd8593ce5bbfaefb3f9db (diff)
downloadbun-07d8623976cd5fe1b11dd13f6988cd02e4fc5c15.tar.gz
bun-07d8623976cd5fe1b11dd13f6988cd02e4fc5c15.tar.zst
bun-07d8623976cd5fe1b11dd13f6988cd02e4fc5c15.zip
fix #4356 (#4386)
Diffstat (limited to 'src')
-rw-r--r--src/cli/install.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cli/install.sh b/src/cli/install.sh
index 782e8592e..4afd50aef 100644
--- a/src/cli/install.sh
+++ b/src/cli/install.sh
@@ -235,6 +235,9 @@ zsh)
fi
;;
bash)
+ # Install completions, but we don't care if it fails
+ IS_BUN_AUTO_UPDATE=true SHELL=bash $exe completions &>/dev/null || :
+
commands=(
"export $install_env=$quoted_install_dir"
"export PATH=$bin_env:\$PATH"