···1010# Run nvm to update fish_user_paths for npm installs. Allow failure if running
1111# outside home directory (no .nvmrc found), and run in background to avoid
1212# blocking the shell from starting
1313-if command -qs nvm
1313+if functions -q nvm
1414 nvm &>/dev/null & || true
1515end
1616