aboutsummaryrefslogtreecommitdiff
path: root/pdksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-09 10:32:27 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-09 10:32:27 +1200
commit93ede77b4587c965f216a42b024b763e0d1e07e7 (patch)
tree7c514e0109568a50204481e03d4097c1928878b6 /pdksh
parentRemove PROMPT_RETURN from pdksh prompt (diff)
downloaddotfiles-93ede77b4587c965f216a42b024b763e0d1e07e7.tar.gz
dotfiles-93ede77b4587c965f216a42b024b763e0d1e07e7.zip
Use blue prompt for pdksh
Nice quick way to distinguish which shell I'm using
Diffstat (limited to 'pdksh')
-rw-r--r--pdksh/kshrc.d/prompt.ksh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdksh/kshrc.d/prompt.ksh b/pdksh/kshrc.d/prompt.ksh
index cb0d1258..4a3a12e3 100644
--- a/pdksh/kshrc.d/prompt.ksh
+++ b/pdksh/kshrc.d/prompt.ksh
@@ -40,7 +40,7 @@ prompt() {
# Check if we have non-bold bright green available
256)
format=$( {
- : "${PROMPT_COLOR:=10}"
+ : "${PROMPT_COLOR:=27}"
tput AF "$PROMPT_COLOR" ||
tput setaf "$PROMPT_COLOR" ||
tput AF "$PROMPT_COLOR" 0 0 ||
@@ -51,7 +51,7 @@ prompt() {
# If we have only eight colors, use bold green
8)
format=$( {
- : "${PROMPT_COLOR:=2}"
+ : "${PROMPT_COLOR:=4}"
tput AF "$PROMPT_COLOR" ||
tput setaf "$PROMPT_COLOR"
tput md || tput bold