From 23844f4a235726af1b869f715463892a763e4690 Mon Sep 17 00:00:00 2001 From: 0scar Date: Thu, 8 Jul 2021 15:54:08 +0200 Subject: Update zsh prompt --- .config/zsh/custom/themes/0undefined.zsh-theme | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/zsh/custom/themes/0undefined.zsh-theme b/.config/zsh/custom/themes/0undefined.zsh-theme index eb4bfc4..0496352 100644 --- a/.config/zsh/custom/themes/0undefined.zsh-theme +++ b/.config/zsh/custom/themes/0undefined.zsh-theme @@ -1,5 +1,6 @@ # vim: ft=zsh: ts=2: sts=2: expandtab append_if_nz() { + # echo " -- $1 --" if [[ "$1" == "0" || "$1" == "" ]]; then echo -n "" else @@ -38,10 +39,9 @@ git_status() { PROMPT='%(?..(%?%) )' if [ -n "$SSH_CLIENT" ]; then PROMPT+="$FG[251][%{$reset_color%}" - let $UID && PROMPT+="$FG[135]" || PROMPT+="$FG[160]" - PROMPT+="%n%{$reset_color%}" + PROMPT+="$FG[081]%n%{$reset_color%}" PROMPT+="@" - PROMPT+="$FG[099]%M%{$reset_color%}" + PROMPT+="$FG[092]%M%{$reset_color%}" PROMPT+="$FG[251]]%{$reset_color%} " fi -PROMPT+='$FG[069]%c%{$reset_color%} $(git_status)%(!.#.$) ' +PROMPT+='$FG[039]%c%{$reset_color%} $(git_status)%(!.#.$) ' -- cgit v1.3