Skip to content

Instantly share code, notes, and snippets.

View tom-flamelit's full-sized avatar
🎯
Focusing

Tom Roderick tom-flamelit

🎯
Focusing
View GitHub Profile
@tom-flamelit
tom-flamelit / pv.bash
Created February 4, 2023 18:23
Bash function `pv` to launch my common virtual environments
function pv { source "$HOME"/work/venv/"$1"/bin/activate; echo "$1 activated"; }
# To work for your setup: first have a common venv directory, then adapt the above to run
# To run, you type into shell `$ pv my_cool_venv_name`