News for hackers. Stuff that matters.
Re:PS1 generator by robinson-wall on Monday August 12, 2013 @07:49PM (#6203055)
This just uses a literal dollar sign to mark the end of the prompt by default. That means if, like me, you don't put the username in your PS1 - instead relying on $ changing to a # when you run `sudo -s' nothing will happen.

I would suggest adding a "$/#" bubble which adds "\$" to the PS1 string.

There are no comments on this comment yet.