Prefer 'minimal' prompt in console (monitor)

This commit is contained in:
Indrajit Raychaudhuri 2014-08-27 04:31:08 -05:00
parent d020d34e59
commit 16c70c305c

View file

@ -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