Browse Source
- simple theme - hostname and current folder on left prompt - git branch and working tree status on the rightmaster
Daniel Schauenberg
15 years ago
1 changed files with 7 additions and 0 deletions
@ -0,0 +1,7 @@ |
|||||||
|
PROMPT='%{$fg_bold[red]%}%m%{$reset_color%}:%{$fg[cyan]%}%c%{$reset_color%}:%# ' |
||||||
|
RPROMPT='%{$fg_bold[green]%}$(git_prompt_info)%{$reset_color%}% ' |
||||||
|
|
||||||
|
ZSH_THEME_GIT_PROMPT_PREFIX="<%{$fg[red]%}" |
||||||
|
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}" |
||||||
|
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%} %{$fg[yellow]%}✗%{$fg[green]%}>%{$reset_color%}" |
||||||
|
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}>" |
Loading…
Reference in new issue