mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Add venv prompt support.
This commit is contained in:
@@ -1,3 +1,7 @@
|
|||||||
PROMPT='%{$fg[black]%}[%{$fg[yellow]%}%h%{$fg[black]%}] %{%(!.$fg[red].$fg[green])%}%8>..>%n%>>%{$fg[white]%}@%{$fg[blue]%}%12>..>%m%>>%{$fg[white]%}:%{$fg[green]%}%32<...<%~%<<%{$fg[blue]%}$(git_prompt_info)%{$fg[white]%}%#%{$reset_color%} '
|
PROMPT='%{$fg[black]%}[%{$fg[yellow]%}%h%{$fg[black]%}] %{%(!.$fg[red].$fg[green])%}%8>..>%n%>>%{$fg[white]%}@%{$fg[blue]%}%12>..>%m%>>%{$fg[white]%}:%{$fg[green]%}%32<...<%~%<<%{$fg[magenta]%}$(virtualenv_prompt_info)%{$fg[blue]%}$(git_prompt_info)%{$fg[white]%}%#%{$reset_color%} '
|
||||||
ZSH_THEME_GIT_PROMPT_PREFIX=" ("
|
ZSH_THEME_GIT_PROMPT_PREFIX=" ("
|
||||||
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
||||||
|
ZSH_THEME_VIRTUALENV_PREFIX=" (py:"
|
||||||
|
ZSH_THEME_VIRTUALENV_SUFFIX=")"
|
||||||
|
|
||||||
|
# vim: set textwidth=0 wrapmargin=0
|
||||||
|
|||||||
Reference in New Issue
Block a user