Gitiles
Code Review
Sign In
source.supwisdom.com
/
common
/
bash_it
/
df20afc275bd5c48bb1de09e672a68beca455e1a
/
.
/
themes
/
minimal
/
minimal.theme.bash
blob: 96d0a8b9bbe70ad6450354e8ae44aa35e1eb0967 [
file
] [
log
] [
blame
]
prompt_setter
()
{
if
[[
$
?
-
eq
0
]];
then
PS1
=
"\W "
else
PS1
=
"${red}\W ${reset_color}"
fi
}
PROMPT_COMMAND
=
prompt_setter