[READ-ONLY] Mirror of https://github.com/mrgnw/dotfiles. My shell customizations - aliases, functions, and themes.
dotfiles shell zinit zsh
0

Configure Feed

Select the types of activity you want to include in your feed.

uv autocomplete

+15
+15
uv.zsh
··· 8 8 # uv autocomplete 9 9 eval "$(uv generate-shell-completion zsh)" 10 10 11 + _uv_run_mod() { 12 + if [[ "$words[2]" == "run" && "$words[CURRENT]" != -* ]]; then 13 + local venv_binaries 14 + if [[ -d .venv/bin ]]; then 15 + venv_binaries=( ${(@f)"$(_call_program files ls -1 .venv/bin 2>/dev/null)"} ) 16 + fi 17 + 18 + _alternative \ 19 + 'files:filename:_files' \ 20 + "binaries:venv binary:(($venv_binaries))" 21 + else 22 + _uv "$@" 23 + fi 24 + } 25 + compdef _uv_run_mod uv