From 8ac23117733e24d0798e34fe54e50e20944bf424 Mon Sep 17 00:00:00 2001 From: 0scar Date: Fri, 18 Jun 2021 12:49:07 +0200 Subject: Update prompt colors --- .config/zsh/custom/themes/0undefined.zsh-theme | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to '.config/zsh') 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)%(!.#.$) ' -- cgit v1.3