Avoids errors when running prezto in Emacs terminals