1
0
mirror of https://github.com/nvm-sh/nvm.git synced 2025-09-25 03:01:13 +08:00
nvm/test/fast/Running 'nvm unalias' should remove the alias file

14 lines
147 B
Bash
Executable File

#!/bin/sh
set -ex
ALIAS_PATH="../../alias"
echo v0.1.2 > "${ALIAS_PATH}/test"
\. ../../nvm.sh
nvm unalias test
! [ -e "${ALIAS_PATH}/test" ]