sync .bashrc with calliope; make blue un-bold

This commit is contained in:
Lexi / Zoe 2019-04-30 20:33:28 +02:00
parent 26604181f8
commit 3a75ea237d
2 changed files with 24 additions and 2 deletions

21
local/.bashrc.calliope Normal file
View file

@ -0,0 +1,21 @@
#
# ~/.bashrc.local -- calliope version
#
# Host-specific aliases
alias scrx='screen -x irssi'
# 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