2012-10-11 07:17:09 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
2016-07-07 15:00:59 +08:00
|
|
|
set -ex
|
|
|
|
|
|
|
|
ALIAS_PATH="../../alias"
|
|
|
|
|
|
|
|
echo v0.1.2 > "${ALIAS_PATH}/test"
|
|
|
|
|
2016-11-04 13:15:18 +08:00
|
|
|
\. ../../nvm.sh
|
2016-07-07 15:00:59 +08:00
|
|
|
|
2012-10-11 07:17:09 +08:00
|
|
|
nvm unalias test
|
2016-07-07 15:00:59 +08:00
|
|
|
|
|
|
|
! [ -e "${ALIAS_PATH}/test" ]
|