Fixes space truncation so it works properly with newer versions of zsh.