diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-02-15 11:31:01 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-02-15 11:31:01 -0200 |
commit | 378c58a767d038b5aa54c5b81be962f63cf31440 (patch) | |
tree | 1f1c01bbb42233bacbe467b04cfb79ad972115d6 /files | |
parent | 66b34c1b94c3a18e1cdce1c44c02b779531faf55 (diff) | |
download | puppet-nodo-378c58a767d038b5aa54c5b81be962f63cf31440.tar.gz puppet-nodo-378c58a767d038b5aa54c5b81be962f63cf31440.tar.bz2 |
Smaller PS1
Diffstat (limited to 'files')
-rw-r--r-- | files/etc/profile | 4 |
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} " } |