Created
January 27, 2016 17:35
-
-
Save samdfonseca/bfbe141d679ef2a10a5f to your computer and use it in GitHub Desktop.
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
function virtualenv_prompt_info { | |
if [ $VIRTUAL_ENV ]; then | |
echo "($(basename $VIRTUAL_ENV)) " | |
fi | |
} | |
PROMPT='%{$fg[blue]%}$(virtualenv_prompt_info)%{$fg[green]%}%~%{$fg_bold[blue]%}$(git_prompt_info)%{$reset_color%} ' | |
ZSH_THEME_GIT_PROMPT_PREFIX="(" | |
ZSH_THEME_GIT_PROMPT_SUFFIX=")" | |
ZSH_THEME_GIT_PROMPT_DIRTY=" ✗" | |
ZSH_THEME_GIT_PROMPT_CLEAN=" ✔" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment