This file contains 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 [[ $EUID -ne 0 ]]; then | |
PS1='[\[$(tput setaf 6)\]\[$(tput bold)\]\u\[$(tput sgr0)\]@\[$(tput sgr0)\]\h\[$(tput sgr0)\]]\[$(tput setaf 5)\] \W\[$(tput sgr0)\]\\$ \[$(tput sgr0)\]' | |
else | |
PS1='[\[$(tput setaf 1)\]\[$(tput bold)\]\u\[$(tput sgr0)\]@\[$(tput sgr0)\]\h\[$(tput sgr0)\]]\[$(tput setaf 5)\] \W\[$(tput sgr0)\]\\$ \[$(tput sgr0)\]' | |
fi |
NewerOlder