diff --git a/bullet-train.zsh-theme b/bullet-train.zsh-theme index 2e8403e..a3da493 100644 --- a/bullet-train.zsh-theme +++ b/bullet-train.zsh-theme @@ -540,7 +540,7 @@ prompt_nvm() { fi local nvm_prompt - if [[ $(type nvm >/dev/null 2>&1) ]]; then + if type nvm >/dev/null 2>&1; then nvm_prompt=$(nvm current 2>/dev/null) [[ "${nvm_prompt}x" == "x" ]] && return else