X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/5a056382e3218d7fe6b0a2201e16d2544f037a0c..2f68eedb2cbba954ddc59d8ea29b52e924a188c5:/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