From: Mark Szymanski Date: Fri, 17 Dec 2010 23:56:43 +0000 (-0600) Subject: Added comment to 'modern' theme X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=7c13d46bb1a788aa823eb4c2cfb6c7982d96d897;p=common%2Fbash_it.git Added comment to 'modern' theme --- diff --git a/themes/modern/modern.theme.bash b/themes/modern/modern.theme.bash index 6a58eef..0365276 100644 --- a/themes/modern/modern.theme.bash +++ b/themes/modern/modern.theme.bash @@ -22,6 +22,9 @@ modern_scm_prompt() { prompt() { if [ $? -ne 0 ] then + # Yes, the indenting on these is weird, but it has to be like + # this otherwise it won't display properly. + PS1="${bold_red}┌─${reset_color}$(modern_scm_prompt)[${cyan}\W${normal}] ${bold_red}└─▪${normal} " else