Skip to content

Instantly share code, notes, and snippets.

Created June 6, 2018 12:33
What would you like to do?
postactivate script to show current Python version in virtualenv
# 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