mirror of https://github.com/ohmyzsh/ohmyzsh.git
feat(uv): add alias for pinning Python version
This commit is contained in:
parent
028d653632
commit
80cf7b1865
|
@ -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 |
|
||||||
|
|
|
@ -10,6 +10,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'
|
||||||
|
|
Loading…
Reference in New Issue