summaryrefslogtreecommitdiff
path: root/.config/zsh/custom/themes
diff options
context:
space:
mode:
author0scar <qgt268@alumni.ku.dk>2021-07-08 13:54:08 +0000
committer0scar <qgt268@alumni.ku.dk>2021-07-08 13:54:08 +0000
commit23844f4a235726af1b869f715463892a763e4690 (patch)
tree9ac404ded7ffd038b8599fb891a496683ba045bc /.config/zsh/custom/themes
parentdfc14295540c8f0e42fcaa73f52e9a9351e758c1 (diff)
Update zsh prompt
Diffstat (limited to '.config/zsh/custom/themes')
-rw-r--r--.config/zsh/custom/themes/0undefined.zsh-theme8
1 files 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)%(!.#.$) '