From 690030d6fda7b4949676e885dd048eb7edc7e8b2 Mon Sep 17 00:00:00 2001 From: Alessandro Fazzi Date: Sat, 29 Jun 2019 13:52:45 +0200 Subject: [PATCH] Do not show prompt when `system` node is used --- fish_prompt.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fish_prompt.fish b/fish_prompt.fish index c0dcaa2..0cb72d2 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -808,7 +808,7 @@ function __bobthefish_prompt_nvm -S -d 'Display current node version through NVM set -l node_version (nvm current 2> /dev/null) - [ -z $node_version -o "$node_version" = 'none' ] + [ -z $node_version -o "$node_version" = 'none' -o "$node_version" = 'system' ] and return __bobthefish_start_segment $color_nvm