diff options
| author | benzlokzik <121052717+benzlokzik@users.noreply.github.com> | 2025-12-05 10:51:45 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-05 08:51:45 +0100 |
| commit | 5f7f41975992ac1e21fd91df866b02ddfd4fad65 (patch) | |
| tree | 93ea373ee2a55a2dd10478d9e7e43cccffd096f5 /plugins | |
| parent | e9fc134236323ce3ce376715b1e55a54ed6ac7ac (diff) | |
| download | zsh-5f7f41975992ac1e21fd91df866b02ddfd4fad65.tar.gz zsh-5f7f41975992ac1e21fd91df866b02ddfd4fad65.tar.bz2 zsh-5f7f41975992ac1e21fd91df866b02ddfd4fad65.zip | |
feat(uv): add alias for pinning Python version (#12914)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/uv/README.md | 1 | ||||
| -rw-r--r-- | plugins/uv/uv.plugin.zsh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/uv/README.md b/plugins/uv/README.md index 1b99c1185..144ec456a 100644 --- a/plugins/uv/README.md +++ b/plugins/uv/README.md @@ -19,6 +19,7 @@ plugins=(... uv) | uvlu | `uv lock --upgrade` | Lock the dependencies to the newest compatible versions | | uvp | `uv pip` | Manage pip packages | | uvpy | `uv python` | Manage Python installs | +| uvpp | `uv python pin` | Pin the current project to use a specific Python version | | uvr | `uv run` | Run commands within the project's environment | | uvrm | `uv remove` | Remove packages from the project | | uvs | `uv sync` | Sync the environment with the lock file | diff --git a/plugins/uv/uv.plugin.zsh b/plugins/uv/uv.plugin.zsh index abcbc117e..ef0f78f6b 100644 --- a/plugins/uv/uv.plugin.zsh +++ b/plugins/uv/uv.plugin.zsh @@ -12,6 +12,7 @@ alias uvlr='uv lock --refresh' alias uvlu='uv lock --upgrade' alias uvp='uv pip' alias uvpy='uv python' +alias uvpp='uv python pin' alias uvr='uv run' alias uvrm='uv remove' alias uvs='uv sync' |
