From 1ac56f67dc4fde74eb4a1b7bef6544ab6b535e3c Mon Sep 17 00:00:00 2001 From: Mohaiminus Sakib <3596793+rode093@users.noreply.github.com> Date: Tue, 2 Dec 2025 22:50:11 +0100 Subject: [PATCH 1/5] added very useful uv tree command alias aiasl "uvt" will run "uv tree" --- plugins/uv/uv.plugin.zsh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/uv/uv.plugin.zsh b/plugins/uv/uv.plugin.zsh index abcbc117e..392d96c08 100644 --- a/plugins/uv/uv.plugin.zsh +++ b/plugins/uv/uv.plugin.zsh @@ -19,6 +19,7 @@ alias uvsr='uv sync --refresh' alias uvsu='uv sync --upgrade' alias uvup='uv self update' alias uvv='uv venv' +alias uvt='uv tree' # If the completion file doesn't exist yet, we need to autoload it and # bind it. Otherwise, compinit will have already done that. From 92a3b3c08245c92e629623f83d0461d3954af7b0 Mon Sep 17 00:00:00 2001 From: Mohaiminus Sakib <3596793+rode093@users.noreply.github.com> Date: Tue, 2 Dec 2025 22:52:58 +0100 Subject: [PATCH 2/5] Added documentation for uvt alias --- plugins/uv/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/uv/README.md b/plugins/uv/README.md index 1b99c1185..cf27afc84 100644 --- a/plugins/uv/README.md +++ b/plugins/uv/README.md @@ -26,3 +26,4 @@ plugins=(... uv) | uvsu | `uv sync --upgrade` | Sync the environment, allowing upgrades and ignoring the lock file | | uvup | `uv self update` | Update the UV tool to the latest version | | uvv | `uv venv` | Manage virtual environments | +| uvt | `uv tree` | Displays the full dependency tree for the current project environment| From 0dc0a1bad6401b7b52cd30e58c99ecb8d89fe9b7 Mon Sep 17 00:00:00 2001 From: Mohaiminus Sakib Date: Tue, 2 Dec 2025 23:30:37 +0100 Subject: [PATCH 3/5] added init and python command aliases --- plugins/uv/README.md | 7 ++++++- plugins/uv/uv.plugin.zsh | 9 +++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/plugins/uv/README.md b/plugins/uv/README.md index cf27afc84..fe21a1371 100644 --- a/plugins/uv/README.md +++ b/plugins/uv/README.md @@ -26,4 +26,9 @@ plugins=(... uv) | uvsu | `uv sync --upgrade` | Sync the environment, allowing upgrades and ignoring the lock file | | uvup | `uv self update` | Update the UV tool to the latest version | | uvv | `uv venv` | Manage virtual environments | -| uvt | `uv tree` | Displays the full dependency tree for the current project environment| +| uvtr | `uv tree` | Displays the full dependency tree for the current project environment| +| uvi | `uv init` | Initialize a new project in current workspace and environment. | +| uvinw | `uv init --no-workspace` | Initialize a new project in a new workspace and environment | +| uvpl | `uv python list` | Lists all python version installed | +| uvpi | `uv python install` | Install a specific versino of python | +| uvpp | `uv python pin` | Pin the current project to use a specific Python version. | diff --git a/plugins/uv/uv.plugin.zsh b/plugins/uv/uv.plugin.zsh index 392d96c08..655160e4d 100644 --- a/plugins/uv/uv.plugin.zsh +++ b/plugins/uv/uv.plugin.zsh @@ -19,8 +19,13 @@ alias uvsr='uv sync --refresh' alias uvsu='uv sync --upgrade' alias uvup='uv self update' alias uvv='uv venv' -alias uvt='uv tree' - +alias uvtr='uv tree' +alias uvi='uv install' +alias uvinw='uv install --no-workspace' +alias uvpl='uv python list' +alias uvpi='uv python install' +alias uvpu='uv python uninstall' +alias uvpp='uv python pin' # If the completion file doesn't exist yet, we need to autoload it and # bind it. Otherwise, compinit will have already done that. if [[ ! -f "$ZSH_CACHE_DIR/completions/_uv" ]]; then From 25cd9afde53dceb20b8ae7d4db457a633f7c5cc6 Mon Sep 17 00:00:00 2001 From: Mohaiminus Sakib Date: Tue, 2 Dec 2025 23:34:44 +0100 Subject: [PATCH 4/5] Added missing documentation for uvpu --- plugins/uv/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/uv/README.md b/plugins/uv/README.md index fe21a1371..93ac92175 100644 --- a/plugins/uv/README.md +++ b/plugins/uv/README.md @@ -30,5 +30,6 @@ plugins=(... uv) | uvi | `uv init` | Initialize a new project in current workspace and environment. | | uvinw | `uv init --no-workspace` | Initialize a new project in a new workspace and environment | | uvpl | `uv python list` | Lists all python version installed | -| uvpi | `uv python install` | Install a specific versino of python | +| uvpi | `uv python install` | Install a specific version of python | +| uvpu | `uv python uninstall` | Remove a specific version of python | | uvpp | `uv python pin` | Pin the current project to use a specific Python version. | From 965f65d5a1a596ba6c3a8adf197433c0e7710f17 Mon Sep 17 00:00:00 2001 From: Mohaiminus Sakib Date: Tue, 2 Dec 2025 23:39:28 +0100 Subject: [PATCH 5/5] Removed command uvpp since it is already existing in PR 12914 --- plugins/uv/README.md | 1 - plugins/uv/uv.plugin.zsh | 1 - 2 files changed, 2 deletions(-) diff --git a/plugins/uv/README.md b/plugins/uv/README.md index 93ac92175..3e67f1305 100644 --- a/plugins/uv/README.md +++ b/plugins/uv/README.md @@ -32,4 +32,3 @@ plugins=(... uv) | uvpl | `uv python list` | Lists all python version installed | | uvpi | `uv python install` | Install a specific version of python | | uvpu | `uv python uninstall` | Remove a specific version of python | -| uvpp | `uv python pin` | Pin the current project to use a specific Python version. | diff --git a/plugins/uv/uv.plugin.zsh b/plugins/uv/uv.plugin.zsh index 655160e4d..5e1d6297f 100644 --- a/plugins/uv/uv.plugin.zsh +++ b/plugins/uv/uv.plugin.zsh @@ -25,7 +25,6 @@ alias uvinw='uv install --no-workspace' alias uvpl='uv python list' alias uvpi='uv python install' alias uvpu='uv python uninstall' -alias uvpp='uv python pin' # If the completion file doesn't exist yet, we need to autoload it and # bind it. Otherwise, compinit will have already done that. if [[ ! -f "$ZSH_CACHE_DIR/completions/_uv" ]]; then