Skip to content

Instantly share code, notes, and snippets.

@mnemnion
Created April 5, 2013 00:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnemnion/5315689 to your computer and use it in GitHub Desktop.
Save mnemnion/5315689 to your computer and use it in GitHub Desktop.
An invocation that gives a solid visual warning when you run under root in Terminal. Add to .profile in ~
export PS1="\u:\W 🔒 "
export SUDO_PS1="\u:\W ‼🔓 ‼ "
@mnemnion
Copy link
Author

mnemnion commented Apr 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment