1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2026-07-02 12:51:34 +02:00

Compare commits

..

3 Commits

Author SHA1 Message Date
641a124fe3 Zsh: widget for automatic usage of uv with the pip command 2026-05-13 03:19:45 +02:00
71d23fa096 Nvim: Updated dictionaries 2026-05-13 03:18:34 +02:00
8dde717180 Nvim: Updated dictionaries 2026-05-13 01:09:10 +02:00
2 changed files with 21 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ Arrabbiata
Asiahung
Aule
Aules
Autoencoder
Babybel
Baez
Barros
@@ -120,6 +121,7 @@ Kingdoms
Kluge
KohakuHub
Kratom
KreativAkademie
Kreyenhop
Kubitschek
Käte
@@ -239,6 +241,7 @@ Tornow
TrackPoint
Traefik
UDEV
UMAP
Umbar
V1del
VIM
@@ -254,6 +257,7 @@ WinterAkademie
Writhing
X.Org
Years
Yorma
Ziegeleiweg
Zimin
and

View File

@@ -152,9 +152,24 @@ uvshim() {
}
python() { uvshim python "$@"; }
python3() { uvshim python3 "$@"; }
pip() { uvshim pip "$@"; }
pytest() { uvshim pytest "$@"; }
pip() {
local uv_root
uv_root="$(find_python_root)"
if [[ -n "$uv_root" ]]; then
if [[ "$1" == "install" ]]; then
shift
uv add "$@"
else
uv pip "$@"
fi
else
command pip "$@"
fi
}
_find_venv_upwards() {
local dir="$PWD"