[FIX] Make window title script work with Xterm
This is quite an awful hack, but I don't want to copy paste the script to my dot-files instead, so this will do.
This commit is contained in:
parent
f5c1d37ca3
commit
da66b21004
|
@ -8,6 +8,10 @@
|
|||
# Export our directory to Termite for opening new terminals
|
||||
if { [[ "$TERM" == xterm-termite ]] || [[ "$TERM" == xterm ]]; } &&
|
||||
[ -r /etc/profile.d/vte.sh ]; then
|
||||
if [[ "$TERM" == xterm ]]; then # FIXME: hack to make Xterm work
|
||||
VTE_VERSION="${VTE_VERSION:-3405}"
|
||||
fi
|
||||
|
||||
. /etc/profile.d/vte.sh
|
||||
__vte_prompt_command
|
||||
fi
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
# Export our directory to Termite for opening new terminals
|
||||
if { [[ "$TERM" == xterm-termite ]] || [[ "$TERM" == xterm ]]; } &&
|
||||
[ -r /etc/profile.d/vte.sh ]; then
|
||||
if [[ "$TERM" == xterm ]]; then # FIXME: hack to make Xterm work
|
||||
VTE_VERSION="${VTE_VERSION:-3405}"
|
||||
fi
|
||||
|
||||
. /etc/profile.d/vte.sh
|
||||
__vte_osc7
|
||||
precmd_functions+=(__vte_prompt_command) # FIXME: why isn't it set above ?
|
||||
|
|
Loading…
Reference in a new issue