19 lines
348 B
Plaintext
19 lines
348 B
Plaintext
#
|
|
# ~/.bashrc.local -- calliope version
|
|
#
|
|
|
|
# Assume colors are set in global .bashrc:
|
|
# - TRED
|
|
# - TGREEN
|
|
# - TBLUE
|
|
# - TGREENB (bold)
|
|
# - TRESET
|
|
|
|
# Set host-specific bash prompt: "user@host pwd :U "
|
|
if [[ ${EUID} == 0 ]] ; then
|
|
PS1="${TRED}\u@\h ${TBLUE}\w ${TGREENB}:U ${TRESET}"
|
|
else
|
|
PS1="${TGREEN}\u@\h ${TBLUE}\w ${TGREENB}:U ${TRESET}"
|
|
fi
|
|
|