1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-05-09 14:01:35 +02:00

Zsh/Nvim: made python handling more readably

This commit is contained in:
2026-05-08 02:39:44 +02:00
parent ec77543d6b
commit f11f68c751
2 changed files with 4 additions and 4 deletions

View File

@@ -113,7 +113,7 @@ uv() {
fi
}
find_uv_root() {
find_python_root() {
local target="$1"
local dir
@@ -142,7 +142,7 @@ uvshim() {
local uv_root=""
local first_arg="$1"
uv_root="$(find_uv_root "$first_arg")"
uv_root="$(find_python_root "$first_arg")"
if [[ -n "$uv_root" ]]; then
uv run --project "$uv_root" "$cmd" "$@"