]> git.phdru.name Git - dotfiles.git/commitdiff
bin/xtitle: better comments
authorOleg Broytman <phd@phdru.name>
Mon, 22 Feb 2016 17:43:19 +0000 (20:43 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 22 Feb 2016 17:43:19 +0000 (20:43 +0300)
bin/xtitle

index 6df8cdc282266507ad66b887b28e82fbdc0dbcaa..4530949a0537f611ebe403e5fce63437510324b7 100755 (executable)
@@ -7,12 +7,12 @@ case "$TERM" in
       else
          TITLE="$@"
       fi
-      echo -ne "\033]0;${TITLE}\007" # Set xterm caption
+      echo -ne "\033]0;${TITLE}\007" # Set xterm title
    ;;
 esac
 
 case "$TERM" in
    screen*)
-      echo -ne "\033k${TITLE}\033\\" # Set screen caption
+      echo -ne "\033k${TITLE}\033\\" # Set screen/tmux caption
    ;;
 esac