4 ms·
Then can they please figure out some way of invoking it that doesnt require prefixing everything with 'uv'
by pdntspa 7mo ago
Then can they please figure out some way of invoking it that doesnt require prefixing everything with 'uv'
- tomrod 7mo agoalias in ~/.zshrc?
- cjp 7mo agodirenv, .envrc, "layout uv" https://github.com/direnv/direnv/wiki/Python#uv https://github.com/direnv/direnv/wiki/Python#uv
- malcolmgreaves 7mo agouv run bash/zsh/your shell of choice
- maleldil 7mo agoYou can source the virtualenv like normal.
- arw0n 7mo agoFor any command, you can create an 'alias' in your shell config. That way you can get rid of the prefix.
- ghshephard 7mo agoSolved with direnv. Also - in my .bashrc in all of my (many) clients: $ type uvi uvl uvv uvi is a function uvi () { uv pip install $@ } uvl is a function uvl () { uv pip list } uvv is a function uvv () { uv venv; cat > .envrc <<EOF source .venv/bin/activate EOF direnv allow }
- duskdozer 7mo agoThat would defeat the purpose of creating and expanding their brand.