Skip to content

Instantly share code, notes, and snippets.

View WritingPanda's full-sized avatar
🐼

Omar Quimbaya WritingPanda

🐼
View GitHub Profile
@dmendiza
dmendiza / gist:6709874
Created September 26, 2013 04:30
Show the active python version in pyenv before every prompt
# Show the version inline
export PROMPT_COMMAND='echo -n [py:$(pyenv version-name)]'
# Show the version name in light blue on previous line
export PROMPT_COMMAND='echo -e "\033[0;36m[py:$(pyenv version-name)]\033[0m"'