1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2025-10-12 20:17:28 +08:00
nvm/test/fast/Running "nvm current" should display current nvm environment.
Koen Punt 52a384a0cc Add Makefile for multishell testing
updated nvm current test for zsh
2014-03-22 18:47:15 +01:00

7 lines
132 B
Bash
Executable File

#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../nvm.sh
[ "$(nvm current)" = "$(node -v)" ] || die "Failed to find current version"