X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/153355965a36f946106d15cde6fc375e87ed72c4..03e579243f0a60f763bbc40ab5cfa7cd964b719e:/zsh/lib/title.zsh diff --git a/zsh/lib/title.zsh b/zsh/lib/title.zsh index 09c5947..18fe7e2 100644 --- a/zsh/lib/title.zsh +++ b/zsh/lib/title.zsh @@ -9,6 +9,10 @@ case "$TERM" in function title_precmd { title "${(%):-[%n@%m] %~}" } function title_preexec { title "$1" } ;; + (*) + function title_precmd {} + function title_preexec {} + ;; esac autoload -U add-zsh-hook