zsh: prevent precmd write error

master
Guillaume Dott 2012-12-21 18:54:22 +01:00
parent da1a380d32
commit 87aedc8aa1
1 changed files with 1 additions and 1 deletions

View File

@ -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() { }