]>
git.rmz.io Git - dotfiles.git/blob - zsh/lib/title.zsh
4 printf "\e]0;%s\a" "${tmp[1]}"
9 function title_precmd
{ title
"${(%):-[%n@%m] %~}" }
10 function title_preexec
{ title
"$1" }
13 function title_precmd
{}
14 function title_preexec
{}
18 autoload
-U add
-zsh-hook
19 add
-zsh-hook precmd title_precmd
20 add
-zsh-hook preexec title_preexec