mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
Do not show prompt when system
node is used
This commit is contained in:
parent
67ae44685a
commit
690030d6fd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user