From f49a4968a7a46763f0a5a30c128427aaa76ebf40 Mon Sep 17 00:00:00 2001 From: finga Date: Mon, 7 Nov 2016 14:30:01 +0100 Subject: [PATCH] improve window titling --- .zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 603450e..132f9b1 100644 --- a/.zshrc +++ b/.zshrc @@ -35,7 +35,7 @@ select-word-style bash # Show cwd in titlebar precmd() { tab_label=${PWD/${HOME}/\~} - echo -ne "\e]2;${tab_label}\a" + echo -ne "\e]2;${HOST}:${tab_label}\a" } # Report CPU usage for commands running longer than 5 seconds