Skip to content

Commit 1fafb3f

Browse files
authored
Suppress wrong errors from uv shell integration in setup_uv (#7822)
1 parent b56b053 commit 1fafb3f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

misc/tools.func

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,9 +1970,8 @@ function setup_uv() {
19701970
export PATH="/usr/local/bin:$PATH"
19711971
fi
19721972
ensure_usr_local_bin_persist
1973-
if ! $STD uv python update-shell; then
1974-
msg_error "uv shell integration failed – continuing anyway"
1975-
fi
1973+
1974+
$STD uv python update-shell >/dev/null 2>&1 || true
19761975
msg_ok "Setup uv $LATEST_VERSION"
19771976

19781977
# Optional: install specific Python version

0 commit comments

Comments
 (0)