improve window titling
This commit is contained in:
parent
2190a26a4a
commit
f49a4968a7
1 changed files with 1 additions and 1 deletions
2
.zshrc
2
.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
|
||||
|
|
Loading…
Reference in a new issue