]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
New bash prompt theme
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 16 Mar 2014 14:34:01 +0000 (11:34 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 16 Mar 2014 14:34:01 +0000 (11:34 -0300)
files/bin/prompt.sh

index 84112bbd51459318aac95b3d789edce244071ba9..8247b1ae580f6c2c5f2e5fdd8fb63cf9a1900ab6 100644 (file)
@@ -33,8 +33,12 @@ function command_prompt() {
   # Without git completion
   #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} \\$ "
 
-  # With git completion
-  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$(__git_ps1 " (%s)")${COLOR_NONE} \\$ "
+  # Red green theme with git completion
+  #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$(__git_ps1 " (%s)")${COLOR_NONE} \\$ "
+  #PS2="${BOLD}>${OFF} "
+
+  # Yellow blue theme with git completion
+  PS1="${status_color}${exit_status}${COLOR_NONE} ${COLOR_CYAN}\D{%Y%m%d %H:%M:%S}${COLOR_NONE} ${COLOR_CYAN}${debian_chroot:+($debian_chroot) }${COLOR_NONE}${COLOR_YELLOW}\u@\h${COLOR_NONE}:${COLOR_CYAN}\w$(__git_ps1 " (%s)")${COLOR_NONE} \\$ "
   PS2="${BOLD}>${OFF} "
 }