summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bashrc12
1 files changed, 9 insertions, 3 deletions
diff --git a/.bashrc b/.bashrc
index 14a67d4..64a7efd 100644
--- a/.bashrc
+++ b/.bashrc
@@ -25,9 +25,15 @@
[ "$1" = 'o' -o -z "$1" ] && set "$PS_USER_BG" "$2"
[ "$2" = 'o' -o -z "$2" ] && set "$1" "$PS_LEFT_SEMI"
- colors_prt "$1" "$PS_BG"
- printf "$2"
- colors_prt "$PS_FG" "$1"
+ if hc_mode
+ then
+ colors_prt "$1" "$PS_BG"
+ printf "$2"
+ colors_prt "$PS_FG" "$1"
+ else
+ colors_prt "$PS_FG" "$1"
+ printf "$2"
+ fi
}
right_cap() {
[ "$2" = 'o' -o -z "$2" ] && set "$1" "$PS_RIGHT_SEMI"