News for hackers. Stuff that matters.
Re:GitLab Database Incident – Live Report by Perihelion on Tuesday January 31, 2017 @08:15PM (#13537232)
All of my non-production machines have emojis in PS1 somewhere. It sounds ridiculous, but I know that if I see a cheeseburger or a burrito I'm not about to completely mess everything up. Silly terminal = silly data that I can obliterate.
Re:GitLab Database Incident – Live Report by StavrosK on Tuesday January 31, 2017 @09:19PM (#13537611)
I think I'd rather make the production systems stand out, and add the emojis there. My prompts have a red background, but emoji prompts just tickle me, somehow.
Re:GitLab Database Incident – Live Report by kofejnik on Tuesday January 31, 2017 @08:24PM (#13537294)
I've been color-coding my PS1 for years, but this is seriously brilliant, thanks!
Re:GitLab Database Incident – Live Report by marcosdumay on Wednesday February 01, 2017 @08:26AM (#13540515)
I got the idea of an emoji prompty that is happy or sad depending on the $? value from somebody here a few years ago.

I run it on any dev environment since then.

Re:GitLab Database Incident – Live Report by scrame on Tuesday January 31, 2017 @11:41PM (#13538306)
ha! I do the same thing with figlet and cowsay, it prints a big dragon saying "welcome to shell!", if I see that, then I know I'm on a box I own/have sudo/am me. it's a good visual reminder. I don't fuss with prompts much, but this is a pretty good idea!