[FIX] Check if TERM is 'xterm-.*' in Bash & Zsh
This commit is contained in:
parent
2e927c89e7
commit
351fe7e95a
|
@ -6,7 +6,7 @@
|
|||
[[ $- != *i* ]] && return
|
||||
|
||||
# Export our directory to Termite for opening new terminals
|
||||
if { [[ "$TERM" == xterm-termite ]] || [[ "$TERM" == xterm ]]; }; then
|
||||
if { [[ "$TERM" =~ xterm.* ]]; }; then
|
||||
source ~/.scripts/term-title
|
||||
fi
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# Export our directory to Termite for opening new terminals
|
||||
if { [[ "$TERM" == xterm-termite ]] || [[ "$TERM" == xterm ]]; }; then
|
||||
if { [[ "$TERM" =~ xterm.* ]]; }; then
|
||||
source ~/.scripts/term-title
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue