dot-profile.sh revision ead1f93ee620d7580f7e53350fe5a884fc4f158a
#
#
# Use less(1) as the default pager for the man(1) command.
#
#
# Define default prompt to <username>@<hostname>:<path><"($|#) ">
# and print '#' for user "root" and '$' for normal users.
#
[[ "${LOGNAME}" == "root" ]] && printf "%s" "${PWD/${HOME}/~}# " ||
printf "%s" "${PWD/${HOME}/~}\$ ")'