|
|
|
|
|
by jiscariot
520 days ago
|
|
For me, what is more common is the likelihood of doing something in the wrong environment (e.g. lab, dev, stage, prod). To help make things a bit more clear, our images now override the PS1 with a `(environment)` at the beginning, which is a different color, lab=green, dev=purple, prod=red. If it saves me once, it was worth it. |
|
I alias cd to always show the first few files in a directory, but a better chance of noticing if I'm in the wrong place, and I always make internal IoT controls show the hostname in the top nav bar.
If I have made a mistake once, or imagined a mistake that could be possible, I pretty much always start thinking of technical countermeasures.