X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/bddd1697cf14a5498721b813b1c57034d8ed4f94..da7e3bb64079a2f61c78baf7d4de0bed0b3b0af0:/zsh/lib/title.zsh?ds=sidebyside diff --git a/zsh/lib/title.zsh b/zsh/lib/title.zsh index c58da48..118daa2 100644 --- a/zsh/lib/title.zsh +++ b/zsh/lib/title.zsh @@ -11,7 +11,7 @@ function title { case "$TERM" in (*xterm*|rxvt*) function title_precmd { title "${(%):-[%n@%m] %~}" } - function title_preexec { title "$1" } + function title_preexec { title "${(%):-[%n@%m]} $1" } ;; (*) function title_precmd {}