diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-09 11:23:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-09 11:23:11 -0300 |
commit | 0fe124695afe2adfeb9d3a38655ef4cbcfb8de0f (patch) | |
tree | 52ce900e9723605bd8014a30f07b69323bd9be3e | |
parent | f95eb83881473d6922e9c45d79b3ed1b0bbfc656 (diff) | |
download | profile-0fe124695afe2adfeb9d3a38655ef4cbcfb8de0f.tar.gz profile-0fe124695afe2adfeb9d3a38655ef4cbcfb8de0f.tar.bz2 |
Fix: use 'xtitle -q'
-rw-r--r-- | terminal.dot.link | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/terminal.dot.link b/terminal.dot.link index 941c005..3511767 100644 --- a/terminal.dot.link +++ b/terminal.dot.link @@ -15,7 +15,7 @@ TITLE="terminal" # Set terminal title function terminal_title { # Set window title - xtitle $* + xtitle -q $* # Set window title inside screen # http://stackoverflow.com/questions/899609/gnu-screen-run-script-that-sends-commands-to-the-screen-session-it-is-being-run @@ -26,7 +26,7 @@ function terminal_title { # Set window title, standard version #trap 'echo -ne "\e]0;terminal: ${TITLE:-$BASH_COMMAND}\007"' DEBUG -#trap 'xtitle ${TITLE:-$BASH_COMMAND}' DEBUG +#trap 'xtitle -q ${TITLE:-$BASH_COMMAND}' DEBUG # Set window title, special version # @@ -35,8 +35,8 @@ function terminal_title { # it after changing the title so $_ retain it's intended value. # #trap 'last="$_" ; echo -ne "\e]0;terminal: ${TITLE:-$BASH_COMMAND}\007"; true $last' DEBUG -#trap 'last="$_" ; xtitle ${TITLE:-$BASH_COMMAND}; true $last' DEBUG -#trap '_last="$_" ; _command=${BASH_COMMAND#command_prompt} ; xtitle ${_command:-$TITLE}; true $_last' DEBUG +#trap 'last="$_" ; xtitle -q ${TITLE:-$BASH_COMMAND}; true $last' DEBUG +#trap '_last="$_" ; _command=${BASH_COMMAND#command_prompt} ; xtitle -q ${_command:-$TITLE}; true $_last' DEBUG trap '_last="$_" ; _command=${BASH_COMMAND#command_prompt} ; terminal_title ${_command:-$TITLE}; true $_last' DEBUG # Fortune :) |