Closed rcludwick closed 6 years ago
Nit picky I know, but for those of us that live on the linux command line, the prompt for the root user after doing sudo -i should be # not $.
from bash manual:
\$ If the effective uid is 0, #, otherwise $.
0
#
$
so, PS1 needs to contain \$ literally, if inside double quoted as PROMPTCHAR="\\\$"
PS1
\$
PROMPTCHAR="\\\$"
Nit picky I know, but for those of us that live on the linux command line, the prompt for the root user after doing sudo -i should be # not $.