Skip to content
Myr

Add `system` support to `nvm_print_versions`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jordan Harband · committed by Jordan Harband · parent 1c50c5c · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:nvm.sh+2 added
249 unmodified lines
250 if [ "$VERSION" = "$NVM_CURRENT" ]; then251 FORMAT='\033[0;32m-> %9s\033[0m'252 elif [ -d "$NVM_DIR/$VERSION" ]; then253 FORMAT='\033[0;34m%12s\033[0m'254 elif [ "$VERSION" = "system" ]; then255 FORMAT='\033[0;33m%12s\033[0m'256 else257 FORMAT='%12s'258 fi259 printf "$FORMAT\n" $VERSION
459 unmodified lines