Modified function term_change_title
This commit is contained in:
parent
01610154db
commit
b62147b177
@ -5,12 +5,12 @@ function term_change_title
|
|||||||
case $TERM in
|
case $TERM in
|
||||||
# Change the window title of X terminals
|
# Change the window title of X terminals
|
||||||
xterm*|rxvt*|urxvt*|Eterm)
|
xterm*|rxvt*|urxvt*|Eterm)
|
||||||
PROMPT_COMMAND='echo -ne "\033]0;${1}\007"'
|
echo -ne "\033]0;${1}\007"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
# Change the window title of screen terminals
|
# Change the window title of screen terminals
|
||||||
screen*)
|
screen*)
|
||||||
PROMPT_COMMAND='echo -ne "\033k${1}\033\\"'
|
echo -ne "\033k${1}\033\\"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user