Skip to content

Instantly share code, notes, and snippets.

@binaryphile
Created April 17, 2015 20:15
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 binaryphile/29778f1d3544387beed7 to your computer and use it in GitHub Desktop.
Save binaryphile/29778f1d3544387beed7 to your computer and use it in GitHub Desktop.
if [ `/usr/bin/whoami` = "root" ] ; then
export PS1="[\[\033[01;35m\]\u\[\033[00m\]@\h \W]\\$ "
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment