]>
git.rmz.io Git - dotfiles.git/blob - zsh/lib/title.zsh
1 if [[ "$TERM" == "linux" ]]; then
8 printf "\e]0;%s\a" "${tmp[1]}"
13 function title_precmd
{ title
"${(%):-[%n@%m] %~}" }
14 function title_preexec
{ title
"$1" }
17 function title_precmd
{}
18 function title_preexec
{}
22 autoload
-U add
-zsh-hook
23 add
-zsh-hook precmd title_precmd
24 add
-zsh-hook preexec title_preexec