Commit 9b408937eb60ce1409fa9130de77d2328f57bf76

Authored by mj
1 parent 1da0424efb
Exists in master and in 2 other branches 02-merge, dev

mj.zsh-theme: improve

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

repos/robbyrussell/oh-my-zsh/themes/mj.zsh-theme
1 1 #!/usr/bin/env zsh
2 2 #local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
3 3  
4   -if [ $UID -eq 0 ]; then CARETCOLOR="red"; else CARETCOLOR="blue"; fi
  4 +if [ $UID -eq 0 ]; then MNCOLOR=$FG[088]; else MNCOLOR=$FG[015]; fi
5 5  
6 6 setopt promptsubst
7 7  
... ... @@ -15,7 +15,7 @@ GIT_DIRTY_COLOR=$FG[133]
15 15 GIT_CLEAN_COLOR=$FG[118]
16 16 GIT_PROMPT_INFO=$FG[012]
17 17  
18   -PROMPT='%{${fg_bold[$CARETCOLOR]}%}%m%{${reset_color}%} %{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}ᐅ%{$reset_color%} '
  18 +PROMPT='%{${fg_bold[$MNCOLOR]}%}%m%{${reset_color}%} %{$PROMPT_SUCCESS_COLOR%}%~%{$reset_color%} %{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}ᐅ%{$reset_color%} '
19 19  
20 20 #RPS1="${return_code}"
21 21