Created
July 15, 2014 06:35
-
-
Save Laica-Lunasys/4b212a5eee6e525fdd16 to your computer and use it in GitHub Desktop.
rootの時とそうじゃない時で違う奴
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if test "$UID" = 0; then | |
PS1="[${USER}@${HOSTNAME} \W]\# " | |
else | |
PS1="[${USER}@${HOSTNAME} \W]\$ " | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment