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
alias checkvenv='if [ "$VIRTUAL_ENV" = "$(pwd)/.venv" ]; then echo -e "\033[0;32m*** VIRTUAL_ENV OK ***\033[0m"; else echo "VIRTUAL_ENV does not match current directory, activating local venv"; if [ -f ".venv/bin/activate" ]; then source .venv/bin/activate; else echo "No .venv found in current directory"; fi; fi' |
OlderNewer