From 275f31980392830d722c722f51b154b573fc87c6 Mon Sep 17 00:00:00 2001 From: Caio Gondim Date: Sun, 30 Nov 2014 23:06:36 +0100 Subject: [PATCH] Fix on default value of `BULLETTRAIN_NVM_SHOW` Will have to do the same with all the variables. Fix #18 --- bullet-train.zsh-theme | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bullet-train.zsh-theme b/bullet-train.zsh-theme index 8f6907f..dba5a22 100644 --- a/bullet-train.zsh-theme +++ b/bullet-train.zsh-theme @@ -30,7 +30,10 @@ BULLETTRAIN_VIRTUALENV_BG=yellow BULLETTRAIN_VIRTUALENV_FG=white BULLETTRAIN_VIRTUALENV_PREFIX=🐍 -BULLETTRAIN_NVM_SHOW=true +# NVM +if [ ! -n "${BULLETTRAIN_NVM_SHOW+1}" ]; then + BULLETTRAIN_NVM_SHOW=true +fi BULLETTRAIN_NVM_BG=green BULLETTRAIN_NVM_FG=white BULLETTRAIN_NVM_PREFIX="⬡ "