zsh-nvm/tests/common.sh

12 lines
183 B
Bash
Raw Normal View History

export test_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
export repo_dir="$test_dir/.."
die () {
echo $@
exit 1
}
load_zsh_nvm() {
source "$repo_dir/zsh-nvm.plugin.zsh"
}