]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
PS1 cosmetic change
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Feb 2011 22:51:35 +0000 (20:51 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 18 Feb 2011 22:51:35 +0000 (20:51 -0200)
files/bin/prompt.sh

index bb92e25523aa8d53b99161051baae406e98a2aec..159ef77a9c68c7ea279528eff8861041661d9444 100644 (file)
@@ -30,7 +30,7 @@ function command_prompt() {
     status_color="${COLOR_RED_BOLD}"
   fi
 
-  PS1="(${status_color}${exit_status}${COLOR_NONE}) [${COLOR_RED}\D{%Y%m%d %H:%M:%S}${COLOR_NONE}] ${COLOR_CYAN}${debian_chroot:+($debian_chroot)}${COLOR_NONE}${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_CYAN}${debian_chroot:+($debian_chroot) }${COLOR_NONE}${COLOR_GREEN}\u@\h${COLOR_NONE}:${COLOR_CYAN}\w${COLOR_NONE} \\$ "
   PS2="${BOLD}>${OFF} "
 }