openwebui: Python version usage | core: zsh completion install (#9079)

This commit is contained in:
CanbiZ
2025-11-12 09:56:24 +01:00
committed by GitHub
parent 1b6d26a903
commit 11ff178b91
2 changed files with 4 additions and 2 deletions

View File

@@ -4522,7 +4522,9 @@ function setup_uv() {
# Optional: Generate shell completions
$STD uv generate-shell-completion bash >/etc/bash_completion.d/uv 2>/dev/null || true
$STD uv generate-shell-completion zsh >/usr/share/zsh/site-functions/_uv 2>/dev/null || true
if [[ -d /usr/share/zsh/site-functions ]]; then
$STD uv generate-shell-completion zsh >/usr/share/zsh/site-functions/_uv 2>/dev/null || true
fi
# Optional: Install specific Python version if requested
if [[ -n "${PYTHON_VERSION:-}" ]]; then