Skip to content

Instantly share code, notes, and snippets.

@wwalser
Created October 12, 2011 00:09
Show Gist options
  • Save wwalser/1279845 to your computer and use it in GitHub Desktop.
Save wwalser/1279845 to your computer and use it in GitHub Desktop.
bashit diff
diff --git a/themes/modern/modern.theme.bash b/themes/modern/modern.theme.bash
index 3efe9ff..a2e3577 100644
--- a/themes/modern/modern.theme.bash
+++ b/themes/modern/modern.theme.bash
@@ -41,10 +41,10 @@ prompt() {
# Yes, the indenting on these is weird, but it has to be like
# this otherwise it won't display properly.
- PS1="${TITLEBAR}${bold_red}┌─${reset_color}$(modern_scm_prompt)[${cyan}\W${normal}][$(battery_charge)]$(is_vim_shell)
+ PS1="${TITLEBAR}${bold_red}┌─${reset_color}$(modern_scm_prompt)[${cyan}\w${normal}][$(battery_charge)]$(is_vim_shell)
${bold_red}└─▪${normal} "
else
- PS1="${TITLEBAR}┌─$(modern_scm_prompt)[${cyan}\W${normal}][$(battery_charge)]$(is_vim_shell)
+ PS1="${TITLEBAR}┌─$(modern_scm_prompt)[${cyan}\w${normal}][$(battery_charge)]$(is_vim_shell)
└─▪ "
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment