Created
June 6, 2018 12:33
-
-
Save chrisma/babc0b3e563de367665806f4395b9830 to your computer and use it in GitHub Desktop.
postactivate script to show current Python version in virtualenv
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
#!/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