Sync .bashrc with terezi, add .bashrc.terezi

This commit is contained in:
Lexi / Zoe 2019-01-07 01:46:57 +01:00
parent 3f12c22c0f
commit 4b5cff266b
2 changed files with 30 additions and 4 deletions

23
local/.bashrc.terezi Normal file
View file

@ -0,0 +1,23 @@
#
# ~/.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