summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xzsh/zshrc10
1 files 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