diff --git a/zsh/zshrc b/zsh/zshrc index 871e738..1e0cf25 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -130,7 +130,7 @@ export RUBY_HEAP_SLOTS_GROWTH_FACTOR=1 export RUBY_GC_MALLOC_LIMIT=79000000 precmd() { - print -Pn "\33]2;%(!.[ROOT] .)%m:%~ | ${COLUMNS}x${LINES} | %y\007" + [ -t 0 ] && print -Pn "\33]2;%(!.[ROOT] .)%m:%~ | ${COLUMNS}x${LINES} | %y\007" vcs_info } preexec() { }