From 484e60d318b2d110f11a9e230302cb8146896401 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 10 Sep 2015 19:15:11 +0300 Subject: [PATCH] zshrc: comment dynamic title changing it breaks tmux title changing which is better. --- rc/zshrc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/rc/zshrc b/rc/zshrc index 8409199e..1620d8c4 100644 --- a/rc/zshrc +++ b/rc/zshrc @@ -9,19 +9,20 @@ uname=$(uname) UNAME=$(uname) # Dynamic window title via https://stackoverflow.com/a/20772424 -case $TERM in - (*xterm* | *rxvt*) +## BREAKS TMUX TITLE CHANGING WHICH IS BETTER THAN THIS. +#case $TERM in +# (*xterm* | *rxvt*) # Write some info to terminal title. # This is seen when the shell prompts for input. - function precmd { - print -Pn "\e]0;zsh%L %(1j,%j job%(2j|s|); ,)%~\a" +# function precmd { +# print -Pn "\e]0;zsh%L %(1j,%j job%(2j|s|); ,)%~\a" } # Write command and args to terminal title. # This is seen while the shell waits for a command to complete. - function preexec { - printf "\033]0;%s\a" "$1" - } +# function preexec { +# printf "\033]0;%s\a" "$1" +# } ;; esac