From 16c70c305ce24902e4fa18fe71689cb5ceef26c9 Mon Sep 17 00:00:00 2001 From: Indrajit Raychaudhuri Date: Wed, 27 Aug 2014 04:31:08 -0500 Subject: [PATCH] Prefer 'minimal' prompt in console (monitor) --- runcoms/zpreztorc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/runcoms/zpreztorc b/runcoms/zpreztorc index a54fdb02..a9e55b9f 100644 --- a/runcoms/zpreztorc +++ b/runcoms/zpreztorc @@ -85,7 +85,12 @@ zstyle ':prezto:module:editor' key-bindings 'emacs' # Set the prompt theme to load. # Setting it to 'random' loads a random theme. # Auto set to 'off' on dumb terminals. -zstyle ':prezto:module:prompt' theme 'sorin' +# Prefer 'minimal' prompt in console (monitor) +if [[ "$TERM" == (linux|*bsd*) ]]; then + zstyle ':prezto:module:prompt' theme 'minimal' +else + zstyle ':prezto:module:prompt' theme 'sorin' +fi # # Ruby