- simple theme
- hostname and current folder on left prompt
- git branch and working tree status on the right
| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,7 @@ |
| 0 |
+PROMPT='%{$fg_bold[red]%}%m%{$reset_color%}:%{$fg[cyan]%}%c%{$reset_color%}:%# '
|
|
| 1 |
+RPROMPT='%{$fg_bold[green]%}$(git_prompt_info)%{$reset_color%}% '
|
|
| 2 |
+ |
|
| 3 |
+ZSH_THEME_GIT_PROMPT_PREFIX="<%{$fg[red]%}"
|
|
| 4 |
+ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
|
| 5 |
+ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%} %{$fg[yellow]%}✗%{$fg[green]%}>%{$reset_color%}"
|
|
| 6 |
+ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}>"
|