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