←back to thread

217 points tanelpoder | 1 comments | | HN request time: 0.21s | source
1. stonesweep ◴[] No.26492933[source]
Fun trivia: this is the default character in the SUSE /etc/bash.bashrc prompt for the non-root user. There's a lot of code doing things, but it boils down to this one example of their prompt defaults:

    if test "$UID" = 0 ; then
        PS1="${HOST}:${PWD} # "
    else
        PS1="${USER}@${HOST}:${PWD}> "
    fi
A popular distro is shipping this out of the box.