Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
cbd63f22
Commit
cbd63f22
authored
Dec 09, 2013
by
Andy Fleming
Browse files
Fix for virtualenv support - fixes #2328, fixes #2297, resolves #2319
parent
357ab491
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/af-magic.zsh-theme
View file @
cbd63f22
...
@@ -27,7 +27,12 @@ eval my_gray='$FG[237]'
...
@@ -27,7 +27,12 @@ eval my_gray='$FG[237]'
eval my_orange='$FG[214]'
eval my_orange='$FG[214]'
# right prompt
# right prompt
PROMPT='$(virtualenv_prompt_info)$my_gray%n@%m%{$reset_color%}%'
if type "virtualenv_prompt" > /dev/null
then
RPROMPT='$(virtualenv_prompt_info)$my_gray%n@%m%{$reset_color%}%'
else
RPROMPT='$my_gray%n@%m%{$reset_color%}%'
fi
# git settings
# git settings
ZSH_THEME_GIT_PROMPT_PREFIX="$FG[075](branch:"
ZSH_THEME_GIT_PROMPT_PREFIX="$FG[075](branch:"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment