mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
feat(uv): add alias for pinning Python version (#12914)
This commit is contained in:
@@ -19,6 +19,7 @@ plugins=(... uv)
|
|||||||
| uvlu | `uv lock --upgrade` | Lock the dependencies to the newest compatible versions |
|
| uvlu | `uv lock --upgrade` | Lock the dependencies to the newest compatible versions |
|
||||||
| uvp | `uv pip` | Manage pip packages |
|
| uvp | `uv pip` | Manage pip packages |
|
||||||
| uvpy | `uv python` | Manage Python installs |
|
| 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 |
|
| uvr | `uv run` | Run commands within the project's environment |
|
||||||
| uvrm | `uv remove` | Remove packages from the project |
|
| uvrm | `uv remove` | Remove packages from the project |
|
||||||
| uvs | `uv sync` | Sync the environment with the lock file |
|
| uvs | `uv sync` | Sync the environment with the lock file |
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ alias uvlr='uv lock --refresh'
|
|||||||
alias uvlu='uv lock --upgrade'
|
alias uvlu='uv lock --upgrade'
|
||||||
alias uvp='uv pip'
|
alias uvp='uv pip'
|
||||||
alias uvpy='uv python'
|
alias uvpy='uv python'
|
||||||
|
alias uvpp='uv python pin'
|
||||||
alias uvr='uv run'
|
alias uvr='uv run'
|
||||||
alias uvrm='uv remove'
|
alias uvrm='uv remove'
|
||||||
alias uvs='uv sync'
|
alias uvs='uv sync'
|
||||||
|
|||||||
Reference in New Issue
Block a user