postactivate script to show current Python version in virtualenv
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/zsh | |
# This hook is sourced after this virtualenv is activated. | |
echo $fg_bold[green] $(python --version) | |
echo $fg_bold[green] $(which python) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment