Skip to content

Instantly share code, notes, and snippets.

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