This commit is contained in:
Mohaiminus Sakib 2025-12-02 22:39:36 +00:00 committed by GitHub
commit 5989d48cbb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 12 additions and 1 deletions

View file

@ -26,3 +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 |
| 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 version of python |
| uvpu | `uv python uninstall` | Remove a specific version of python |

View file

@ -19,7 +19,12 @@ alias uvsr='uv sync --refresh'
alias uvsu='uv sync --upgrade'
alias uvup='uv self update'
alias uvv='uv venv'
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'
# 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