summaryrefslogtreecommitdiff
path: root/zsh/functions/term_title
blob: f294310527d6777a6ecc46ae604b8302c2f1de8e (plain)
1
2
3
4
if [[ $TERM == "screen" ]]; then
  print -nR $'\033k'$1$'\033'\\
fi
print -nR $'\033]0;'$1$'\a'