I like to color code my terminal. Production systems are always red. Dev are blue/green. Staging is yellow.
I run it on any dev environment since then.
Recovery item 3f currently says:
> Create issue to change terminal PS1 format/colours to make it clear whether you’re using production or staging (red production, yellow staging)
i2-badge ()
{
printf "\e]1337;SetBadgeFormat=%s\a" $(echo -n "$1" | base64)
}
It's not quite as good as having a separate terminal theme, but then I haven't been able to use that feature properly. :(I should probably make the PRODUCTION flash just in case.
Here's a generator for Bash: http://bashrcgenerator.com/, the prompt's format string is stored in the $PS1 variable.
RED=$(tput setaf 1)
NORMAL=$(tput sgr0)
PS1="\[${RED}\]PROD \[${NORMAL}\]\W\$ "
produces promptPROD ~$ <-- prod in red, directory ~