Do not show prompt when system node is used

This commit is contained in:
Alessandro Fazzi 2019-06-29 13:52:45 +02:00
parent 67ae44685a
commit 690030d6fd

View File

@ -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) 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 and return
__bobthefish_start_segment $color_nvm __bobthefish_start_segment $color_nvm