etc.skel.bashrc revision 122
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Define default prompt to <username>@<hostname>:<path><"($|#) ">
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and print '#' for user "root" and '$' for normal users.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwPS1='${LOGNAME}@$(/usr/bin/hostname):$(
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw [[ "${LOGNAME}" == "root" ]] && printf "%s" "${PWD/${HOME}/~}# " ||
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw printf "%s" "${PWD/${HOME}/~}\$ ")'