Skip to content

Instantly share code, notes, and snippets.

@tuxracer
Created April 22, 2022 01:33
Show Gist options
  • Save tuxracer/32de0a078e67279c79d5280283d5c72e to your computer and use it in GitHub Desktop.
Save tuxracer/32de0a078e67279c79d5280283d5c72e to your computer and use it in GitHub Desktop.
fishvenv
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