Created
September 30, 2025 21:09
-
-
Save daryltucker/ec5a135441808649ec7bd6a6e07f0662 to your computer and use it in GitHub Desktop.
uvgit: Specify uv Package Source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function uvgit(){ | |
| repo=$(echo "${1}" | rev | cut -d'/' -f -1 | rev) | |
| echo "Installing $repo found at ${1}" | |
| uv tool install "git+${1}#egg=${repo}" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment