]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/themes/juanghurtado.zsh-theme
dbdfde7b889fb605e972dc0b147b5e5157416082
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / themes / juanghurtado.zsh-theme
1 # Color shortcuts
2 RED=$fg[red]
3 YELLOW=$fg[yellow]
4 GREEN=$fg[green]
5 WHITE=$fg[white]
6 BLUE=$fg[blue]
7 RED_BOLD=$fg_bold[red]
8 YELLOW_BOLD=$fg_bold[yellow]
9 GREEN_BOLD=$fg_bold[green]
10 WHITE_BOLD=$fg_bold[white]
11 BLUE_BOLD=$fg_bold[blue]
12 RESET_COLOR=$reset_color
13
14 # Format for git_prompt_info()
15 ZSH_THEME_GIT_PROMPT_PREFIX=""
16 ZSH_THEME_GIT_PROMPT_SUFFIX=""
17
18 # Format for parse_git_dirty()
19 ZSH_THEME_GIT_PROMPT_DIRTY=" %{$RED%}(*)"
20 ZSH_THEME_GIT_PROMPT_CLEAN=""
21
22 # Format for git_prompt_status()
23 ZSH_THEME_GIT_PROMPT_UNMERGED=" %{$RED%}unmerged"
24 ZSH_THEME_GIT_PROMPT_DELETED=" %{$RED%}deleted"
25 ZSH_THEME_GIT_PROMPT_RENAMED=" %{$YELLOW%}renamed"
26 ZSH_THEME_GIT_PROMPT_MODIFIED=" %{$YELLOW%}modified"
27 ZSH_THEME_GIT_PROMPT_ADDED=" %{$GREEN%}added"
28 ZSH_THEME_GIT_PROMPT_UNTRACKED=" %{$WHITE%}untracked"
29
30 # Format for git_prompt_ahead()
31 ZSH_THEME_GIT_PROMPT_AHEAD=" %{$RED%}(!)"
32
33 # Format for git_prompt_long_sha() and git_prompt_short_sha()
34 ZSH_THEME_GIT_PROMPT_SHA_BEFORE=" %{$WHITE%}[%{$YELLOW%}"
35 ZSH_THEME_GIT_PROMPT_SHA_AFTER="%{$WHITE%}]"
36
37 # Prompt format
38 PROMPT='
39 %{$GREEN_BOLD%}%n@%m%{$WHITE%}:%{$YELLOW%}%~%u$(parse_git_dirty)$(git_prompt_ahead)%{$RESET_COLOR%}
40 %{$BLUE%}>%{$RESET_COLOR%} '
41 RPROMPT='%{$GREEN_BOLD%}$(git_current_branch)$(git_prompt_short_sha)$(git_prompt_status)%{$RESET_COLOR%}'