diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-10-24 16:36:39 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-10-24 16:36:39 -0200 |
commit | ad1a39d82d3c707f02d4660d8028d05b8ec70b6b (patch) | |
tree | 027ff2682e0abd30803777bf4078da376189ba53 | |
parent | 6c6fa04b79902363af3b049fb8a749b40eafcc9b (diff) | |
download | termplex-ad1a39d82d3c707f02d4660d8028d05b8ec70b6b.tar.gz termplex-ad1a39d82d3c707f02d4660d8028d05b8ec70b6b.tar.bz2 |
Enhancing window_title()
-rwxr-xr-x | shell | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -12,9 +12,9 @@ COMMAND="$2" # http://stackoverflow.com/questions/899609/gnu-screen-run-script-that-sends-commands-to-the-screen-session-it-is-being-run function window_title { if [ -n "$STY" ]; then - screen -p $WINDOW -X title $1 + screen -p $WINDOW -X title "$*" else - xtitle $1 + xtitle "$*" fi } |