aboutsummaryrefslogtreecommitdiff
path: root/files/etc/profile
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/profile')
-rw-r--r--files/etc/profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/etc/profile b/files/etc/profile
index 512e871..799d1c8 100644
--- a/files/etc/profile
+++ b/files/etc/profile
@@ -9,7 +9,7 @@ fi
function command_prompt() {
exit_status="$?"
-# # colors
+ # colors
COLOR_RED="\[\033[31m\]"
COLOR_GREEN="\[\033[32;40m\]"
COLOR_YELLOW="\[\033[33;40m\]"
@@ -33,7 +33,7 @@ function command_prompt() {
status_color="${COLOR_RED_BOLD}"
fi
- PS1="\n${COLOR_RED}\D{%A - %d/%m/%Y - %H:%M:%S} - ${COLOR_YELLOW}Exit status: ${status_color}${exit_status}${COLOR_NONE}\n${COLOR_GREEN}\u@\h${COLOR_NONE}:${COLOR_CYAN}\w${COLOR_NONE} \$ "
+ PS1="(${status_color}${exit_status}${COLOR_NONE}) [${COLOR_RED}\D{%Y%m%d %H:%M:%S}${COLOR_NONE}] ${COLOR_GREEN}\u@\h${COLOR_NONE}:${COLOR_CYAN}\w${COLOR_NONE} \\$ "
PS2="${BOLD}>${OFF} "
}