Use uv instead of rye

This commit is contained in:
ItsDrike 2024-12-14 02:28:47 +01:00
parent 31ab2cdb8e
commit dacb4ac34c
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
2 changed files with 13 additions and 14 deletions

View file

@ -17,3 +17,11 @@ fi
zstyle ':completion:*' menu select # select completions with arrow keys
zstyle ':completion:*' group-name '' # group results by category
zstyle ':completion:::::' completer _expand _complete _ignored _approximate # enable approximate matches for completion
# Autocompletion for various tools
if command -v uv >/dev/null 2>&1; then
eval "$(uv generate-shell-completion zsh)"
fi
if command -v uvx >/dev/null 2>&1; then
eval "$(uvx --generate-shell-completion zsh)"
fi