X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=7ccbe91e1766df634eedaf45b1a5a50c058cb1d3;hb=17c4bdffc7d5914f39932f4b2cb1a0791d227a00;hp=228233b5d48da404bf53d83f3dc762abc8baee88;hpb=98a1e1fb991b38eb3ca4133160ef910153b25e74;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index 228233b..7ccbe91 100644 --- a/zsh/rc +++ b/zsh/rc @@ -347,6 +347,9 @@ if [[ $TERM == screen* || $TERM == xterm* || $TERM == rxvt* ]]; then window_title() { print -n "\e]2;$1\e\\" } + else + # Fallback if another TERM is used. + window_title() { } fi # Add the preexec() and precmd() hooks.