[ADD] Use my own script to display terminal title
The provided 'vte.sh' script doesn't quite work on Bash because $HOSTNAME is empty for some reason.
This commit is contained in:
parent
4df55b8835
commit
173a0b093c
4 changed files with 49 additions and 20 deletions
10
bash/.bashrc
10
bash/.bashrc
|
|
@ -6,14 +6,8 @@
|
|||
[[ $- != *i* ]] && return
|
||||
|
||||
# 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
|
||||
if { [[ "$TERM" == xterm-termite ]] || [[ "$TERM" == xterm ]]; }; then
|
||||
source ~/.scripts/term-title
|
||||
fi
|
||||
|
||||
# Make colorcoding available for everyone
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue