From: Samir Benmendil Date: Wed, 28 Jan 2015 22:42:20 +0000 (+0000) Subject: zsh: don't try to set title in console X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/bddd1697cf14a5498721b813b1c57034d8ed4f94?ds=inline;hp=-c zsh: don't try to set title in console --- bddd1697cf14a5498721b813b1c57034d8ed4f94 diff --git a/zsh/lib/title.zsh b/zsh/lib/title.zsh index 18fe7e2..c58da48 100644 --- a/zsh/lib/title.zsh +++ b/zsh/lib/title.zsh @@ -1,3 +1,7 @@ +if [[ "$TERM" == "linux" ]]; then + return +fi + function title { local tmp tmp=(${(f)*})