diff options
| author | 0scar <qgt268@alumni.ku.dk> | 2021-06-18 10:49:07 +0000 |
|---|---|---|
| committer | 0scar <qgt268@alumni.ku.dk> | 2021-06-18 10:49:07 +0000 |
| commit | 8ac23117733e24d0798e34fe54e50e20944bf424 (patch) | |
| tree | bbab8ec3b4f13854e1a98483115723b5f7b3ba74 /.config | |
| parent | 2ee4672b82bddf7e78aff7a2ef212f495debadac (diff) | |
Update prompt colors
Diffstat (limited to '.config')
| -rw-r--r-- | .config/zsh/custom/themes/0undefined.zsh-theme | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/.config/zsh/custom/themes/0undefined.zsh-theme b/.config/zsh/custom/themes/0undefined.zsh-theme index 8ea2a16..eb4bfc4 100644 --- a/.config/zsh/custom/themes/0undefined.zsh-theme +++ b/.config/zsh/custom/themes/0undefined.zsh-theme @@ -37,6 +37,11 @@ git_status() { PROMPT='%(?..(%?%) )' if [ -n "$SSH_CLIENT" ]; then - PROMPT+="$FG[251][%{$reset_color%}$FG[081]%n%{$reset_color%}@$FG[092]%M%{$reset_color%}$FG[251]]%{$reset_color%} " + PROMPT+="$FG[251][%{$reset_color%}" + let $UID && PROMPT+="$FG[135]" || PROMPT+="$FG[160]" + PROMPT+="%n%{$reset_color%}" + PROMPT+="@" + PROMPT+="$FG[099]%M%{$reset_color%}" + PROMPT+="$FG[251]]%{$reset_color%} " fi -PROMPT+='$FG[039]%c%{$reset_color%} $(git_status)%(!.#.$) ' +PROMPT+='$FG[069]%c%{$reset_color%} $(git_status)%(!.#.$) ' |
