From c087c244eec20ae4b76430b5b74fa7c6f32f4cd3 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 22 Sep 2013 19:47:14 +0100 Subject: zsh: Fix prompt issues with TRAMP --- zsh/zshrc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/zsh/zshrc b/zsh/zshrc index ecfec59..b2005cb 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -170,10 +170,12 @@ zstyle ':vcs_info:*' enable git hg zstyle ':completion:*:*:(^rm):*:*files' ignored-patterns '*?.o' '*?.c~' '*?.old' '*?.pro' ## Prompt -autoload -U promptinit -promptinit - -prompt pure +if [[ $TERM != 'dumb' ]] +then + autoload -U promptinit + promptinit + prompt pure +fi # Options -- cgit 1.4.1