dotfiles/_local/terezi/.bashrc.terezi

24 lines
515 B
Plaintext

#
# ~/.bashrc.local -- terezi version
#
# Host-specific aliases
alias touchpad_disable='xinput set-prop 12 "Device Enabled" 0'
alias touchpad_enable='xinput set-prop 12 "Device Enabled" 1'
# Assume colors are set in global .bashrc:
# - TRED
# - TGREEN
# - TCYANB (bold)
# - TBLUE
# - TWHITEB (bold)
# - TRESET
# Set host-specific bash prompt: "user@host pwd >:] "
if [[ ${EUID} == 0 ]] ; then
PS1="${TRED}\u@\h ${TBLUE}\w ${TCYANB}>:] ${TRESET}"
else
PS1="${TGREEN}\u@\h ${TBLUE}\w ${TCYANB}>:] ${TRESET}"
fi