Luke Childs
8 years ago
3 changed files with 22 additions and 0 deletions
@ -1 +1,2 @@ |
|||
tests/.urchin.log |
|||
previous_version |
|||
|
@ -0,0 +1,11 @@ |
|||
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" |
|||
} |
@ -0,0 +1,10 @@ |
|||
source ../common.sh |
|||
|
|||
# Check ZSH_NVM_DIR isn't already set |
|||
[[ -z ${ZSH_NVM_DIR+x} ]] || die "ZSH_NVM_DIR already set" |
|||
|
|||
# Load zsh-nvm |
|||
load_zsh_nvm |
|||
|
|||
# Check ZSH_NVM_DIR is now set |
|||
[[ ! -z ${ZSH_NVM_DIR+x} ]] || die "ZSH_NVM_DIR wasn't set" |
Loading…
Reference in new issue