.profile: Make bash more uniform

This commit is contained in:
2018-11-06 18:36:04 -06:00
parent 720640c03b
commit 8437d55ced
2 changed files with 6 additions and 1 deletions

View File

@@ -133,7 +133,7 @@ _ps1() {
if ! [ "$exitcode" = "0" ]; then
fail="${fg_bold}${fg_red}?"
fi
printf "(${prefix}${cpwd}${r})${fail}${r}${fg_green}\$${r} "
printf "[${prefix}${cpwd}${r}]${fail}${r}${fg_green}\$${r} "
}
if ! [ "$ZSH_NAME" ]; then