Created
April 22, 2022 01:33
-
-
Save tuxracer/32de0a078e67279c79d5280283d5c72e to your computer and use it in GitHub Desktop.
fishvenv
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 fishvenv --on-variable PWD | |
if test -f $PWD/venv/bin/activate.fish | |
echo -e "\033[1mActivating venv\033[0m" | |
source $PWD/venv/bin/activate.fish | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment