1
0
mirror of https://github.com/bertptrs/vimconfig.git synced 2025-12-25 20:40:32 +01:00

Set terminal title in zsh.

This commit is contained in:
Bert Peters
2017-04-12 11:15:13 +02:00
parent 26cbcfc1f9
commit 4401cf2b05

View File

@@ -145,3 +145,11 @@ SAVEHIST=$HISTSIZE
setopt autocd # Automatically cd to dirs typed
setopt notify
###########################
# Configure terimal title #
###########################
precmd ()
{
print -Pn "\e]0;%n@%m: %2~\a"
}