aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-04-19 00:42:01 -0400
committertdro <tdro@users.noreply.github.com>2020-04-19 00:47:39 -0400
commit0989735043153aff35f5f85580ab089d18d019a2 (patch)
tree0d95724845884f3b0b1c45bcaf81be1f53f18ce8 /.bash_profile
parent1832b0b96a3a644e9baa2d5e3c04ec319c5b4af1 (diff)
downloaddotfiles-0989735043153aff35f5f85580ab089d18d019a2.tar.gz
dotfiles-0989735043153aff35f5f85580ab089d18d019a2.tar.bz2
dotfiles-0989735043153aff35f5f85580ab089d18d019a2.zip
.bash_profile: Add shade to date in PS1
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile6
1 files changed, 3 insertions, 3 deletions
diff --git a/.bash_profile b/.bash_profile
index 418ebdb..3122934 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -4,9 +4,9 @@
[ "$EUID" != 0 ] && [ -z "$DISPLAY" ] && [ "$(tty)" = '/dev/tty1' ] && exec startx >/dev/null 2>&1;
# set prompt
-PS1_USER='$(date +%T) \[\e[0;34m\]\W\[\e[0m\] \[\e[0;34m\]\$\[\e[0m\] '
-PS1_ROOT='$(date +%T) \[\e[0;31m\]\W\[\e[0m\] \[\e[0;31m\]\$\[\e[0m\] '
-PS1_SSHD='$(date +%T) \[\e[0;32m\]\W\[\e[0m\] \[\e[0;32m\]\$\[\e[0m\] '
+PS1_USER='\[\e[38;5;250m\]$(date +%T)\[\e[0m\] \[\e[0;34m\]\W\[\e[0m\] \[\e[0;34m\]\$\[\e[0m\] '
+PS1_ROOT='\[\e[38;5;250m\]$(date +%T)\[\e[0m\] \[\e[0;31m\]\W\[\e[0m\] \[\e[0;31m\]\$\[\e[0m\] '
+PS1_SSHD='\[\e[38;5;250m\]$(date +%T)\[\e[0m\] \[\e[0;32m\]\W\[\e[0m\] \[\e[0;32m\]\$\[\e[0m\] '
[ "$EUID" != 0 ] && export PS1="$PS1_USER";
[ "$EUID" = 0 ] && export PS1="$PS1_ROOT";