I couldn't find a clean and modular way to add the exit status to the RPROMPT so I put this quick module together. I'm submitting a PR in case other people could benefit from it.
Currently it only supports one color but it would be easy to add a success color as well for +exit_status setups.
I couldn't find a clean and modular way to add the exit status to the RPROMPT so I put this quick module together. I'm submitting a PR in case other people could benefit from it.
Currently it only supports one color but it would be easy to add a success color as well for
+exit_status
setups.Cheers, Alex