Gitiles
Code Review
Sign In
source.supwisdom.com
/
common
/
bash_it
/
bc225b8a3181d8bf8e0592975e606d5099d27172
/
.
/
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