Replaced obscure colors & fonts escaping codes with more readable variables.
Rewritten every instance of the "If... Then... Else..." statement with the same syntax: [[ ... ]] && ... || ...
Probably not the more readable by itself but the one that require less single and/or double quotes (thus requiring less character escapes and improving the general readability).
The resulting shell prompt should be exactly the same as before.
[[ ... ]] && ... || ...
Probably not the more readable by itself but the one that require less single and/or double quotes (thus requiring less character escapes and improving the general readability).