2 ms·
Though note that wouldn't help here, at least according to a common sense reading of this part of the post: > we connected our development environment to a pro
by cjbprime 9y ago
Though note that wouldn't help here, at least according to a common sense reading of this part of the post:
> we connected our development environment to a production database with write access
i.e. they weren't logged in to a production machine, they were logged in to a development machine that was permitted to connect directly with write access to the production database.
- geofft 9y agoSince it's a local shell doing something like this is a lot easier - just change $PS1 to add some colors when certain variables are set. I use something like this today on my personal machine to distinguish between my personal and work email addresses in $EMAIL (for silly firewall reasons it's easier to originate work-owned OSS on my personal machine), and on my work machine to tell me which production zone I'm talking to - but I don't have it color when I have any variable set at all, I probably should do that.