Live data from Hacker News

 in Your System Prompt

bbs-software.com

11–18 of 18 posts

Re:  in Your System Prompt

#11
post #4

Several years ago, while being logged into and working on several remote Linux servers simultaneously, I rebooted the wrong one. I realized it approximately .002 milliseconds after pressing (after "shutdown -r now") but it was too late. Since then, I use one style of prompt on my personal machines and other non-critical hosts. On production/critical machines, I use a different style of prompt that stands out quite a…

This has happened far too many times for me too. A colored/distinct prompt is a must.

Re:  in Your System Prompt

#12
Yes, and you can have “💩” in your prompt. Wait, you won't believe it, but you can even have “$” in your prompt! It is worth a blog post (in first page of HN)?

Re:  in Your System Prompt

#14
post #12

Yes, and you can have “💩” in your prompt. Wait, you won't believe it, but you can even have “$” in your prompt! It is worth a blog post (in first page of HN)?

Apple's fucking emoticons. I had to jailbreak and install a whitelist specifically because of the emoticon SMS spam.

Re:  in Your System Prompt

#15
post #12

Yes, and you can have “💩” in your prompt. Wait, you won't believe it, but you can even have “$” in your prompt! It is worth a blog post (in first page of HN)?

Apple's fucking emoticons. I had to jailbreak and install a whitelist specifically because of the emoticon SMS spam.

They've been in Unicode since 6.0. And they are not much Apple's in the first place.

Re:  in Your System Prompt

#16
post #15

Earlier quoted context omitted.

Apple's fucking emoticons. I had to jailbreak and install a whitelist specifically because of the emoticon SMS spam.

They've been in Unicode since 6.0. And they are not much Apple's in the first place.

Yes. Apple renders them as little colorful pictures.

Re:  in Your System Prompt

#18
Under OSX I use the Emoji characters to indicate what server I'm on, and I use the red police light character if it's a production machine.

You can also tell iTerm to report its terminal type as something specific, then do something like this in your bashrc to setup a different prompt if you're not on OSX:

if [ $TERM = "xterm-256color" ]; then

Post reply on HN