Commit 15d85cac authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Enforce re-setup of term values when terminal changes

~/.shell/lib/term-setup.sh rereuns (from .profile) when the terminal
device changes.
parent 5583afa7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
${TERM_SETUP_LOADED-false} && return
export TERM_SETUP_LOADED=true
[ -n "${TTY-}" ] || TTY=$(tty)
[ "${TERM_SETUP_LOADED-}" = "${TTY}" ] && return
export TERM_SETUP_LOADED=${TTY}

. ~/.shell/funcs
. ~/.shell/colours