strug.zsh-theme
918 bytes
1# terminal coloring
2export CLICOLOR=1
3export LSCOLORS=dxFxCxDxBxegedabagacad
4
5local git_branch='$(git_prompt_info)%{$reset_color%}$(git_remote_status)'
6
7PROMPT="%{$fg[green]%}╭─%n@%m %{$reset_color%}%{$fg[yellow]%}in %~ %{$reset_color%}${git_branch}
8%{$fg[green]%}╰\$ %{$reset_color%}"
9
10ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[yellow]%}on "
11ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
12
13ZSH_THEME_GIT_PROMPT_DIRTY="%{$reset_color%}%{$fg[red]%} ✘ %{$reset_color%}"
14ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%} ✔ %{$reset_color%}"
15
16ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_DETAILED=true
17ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_PREFIX="%{$fg[yellow]%}("
18ZSH_THEME_GIT_PROMPT_REMOTE_STATUS_SUFFIX="%{$fg[yellow]%})%{$reset_color%}"
19
20ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE=" +"
21ZSH_THEME_GIT_PROMPT_AHEAD_REMOTE_COLOR=%{$fg[green]%}
22
23ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE=" -"
24ZSH_THEME_GIT_PROMPT_BEHIND_REMOTE_COLOR=%{$fg[red]%}
25