Last active
March 28, 2019 09:16
-
-
Save matsen/538ae7357d9a0ecbe714 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
# A modification of `gallifrey` to show virtualenv information. | |
# I also found the return code information to be annoying, so it's commented out. | |
#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})" | |
PROMPT='%{$fg[green]%}%m%{$reset_color%} $(virtualenv_prompt_info)%2~ $(git_prompt_info)%{$reset_color%}%B»%b ' | |
#RPS1="${return_code}" | |
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}‹" | |
ZSH_THEME_GIT_PROMPT_SUFFIX="› %{$reset_color%}" | |
ZSH_THEME_VIRTUALENV_PREFIX="%{$fg[yellow]%}[" | |
ZSH_THEME_VIRTUALENV_SUFFIX="] %{$reset_color%}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment