summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mladenov <kamen@syndamia.com>2024-11-04 09:52:14 +0200
committerKamen Mladenov <kamen@syndamia.com>2024-11-04 09:52:14 +0200
commitdf9c297917c21fbd6a2f492a4d0cddf288274085 (patch)
tree16f91942374e16489ae0dd4dc08e18d7e7611c08
parenta1af97a79d52e53b54f46633c7aa81e77d1913ee (diff)
downloaddotfiles-df9c297917c21fbd6a2f492a4d0cddf288274085.tar
dotfiles-df9c297917c21fbd6a2f492a4d0cddf288274085.tar.gz
dotfiles-df9c297917c21fbd6a2f492a4d0cddf288274085.zip
feat(bash): Color tweaks
-rw-r--r--.bashrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/.bashrc b/.bashrc
index e07b67f..5cf0fb0 100644
--- a/.bashrc
+++ b/.bashrc
@@ -95,9 +95,9 @@
if [ -n "$___dirchanged" ]
then
- left_cap $PS_USER_BG $PS_LEFT_SLAB
+ left_cap $PS_INFO $PS_LEFT_SLAB
printf "$branch_name"
- right_cap $PS_USER_BG "$(right_slab ex dur dir)"
+ right_cap $PS_INFO "$(right_slab ex dur dir)"
___git_printed="y"
fi
fi
@@ -118,12 +118,12 @@
if [ "$seconds" -gt 10 ]
then
- left_cap $PS_INFO $PS_LEFT_SLAB
+ left_cap $PS_DBG $PS_LEFT_SLAB
if [ "$seconds" -lt 60 ]; then printf '%ds' "$seconds"
elif [ "$seconds" -le 3600 ]; then printf '%(%Mm %Ss)T' "$seconds"
else printf '%($Hh %Mm $%Ss)T' "$seconds"
fi
- right_cap $PS_INFO "$(right_slab dir)"
+ right_cap $PS_DBG "$(right_slab dir)"
fi
}