Hacker News new | past | comments | ask | show | jobs | submit login

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: