This file contains 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
# | |
# Print all possible candidates for virtualenv relative to the directory $1. | |
# Used in venv_find() for every directory starting from the current and up to the root. | |
# | |
function venv_candidates () { | |
echo $1 | |
echo $1/.venv | |
echo $1/VENV | |
echo $1/ENV | |
echo $1.venv |