mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-01-30 09:47:14 +08:00
12 lines
183 B
Bash
12 lines
183 B
Bash
|
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"
|
||
|
}
|