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
#!/usr/bin/env bash | |
# | |
# Summary: Find virtual environments that use pyenv-managed versions. | |
# | |
# Usage: pyenv users [directory] | |
# | |
# Scans [directory] for virtual environments whose `python` commands | |
# are symlinks back into a pyenv version. Default: current directory. | |
# | |
# I'm not a script writer so it's probably a bit crude, but I find it |