From 3a37466f335fac7d6c5fe6ce7017bb8800da89e6 Mon Sep 17 00:00:00 2001
From: Sergey Matveev <stargrave@stargrave.org>
Date: Thu, 27 Feb 2020 18:03:58 +0300
Subject: [PATCH] Simplify screen title clearing

---
 zsh/.zshrc | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/zsh/.zshrc b/zsh/.zshrc
index 119bc38..4502dbe 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -57,18 +57,10 @@ preexec() {
 }
 
 precmd() {
-    print -n "\a"
+    printf "\a\033]2;\033\\"
 }
 # }}}
 
-# Tmux pane name {{{
-CTP()
-{
-    printf "\033]2;\033\\"
-}
-CTP
-# }}}
-
 # Aliases {{{
 alias l="ls -AF "
 alias ll="ls -AFl "
@@ -77,7 +69,7 @@ alias vi="vim"
 alias more="less"
 alias m="less "
 alias -g M="| less"
-alias mc="mc --nomouse ; CTP"
+alias mc="mc --nomouse"
 bindkey -s "OS" " popd\n" # F4
 
 f() {
-- 
2.51.0