Fix for ZSH by wavded

master
Tim Caswell 2011-02-25 09:17:27 -08:00
parent f668d354a9
commit 66a9f01a0e
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -6,7 +6,7 @@
# with much bash help from Matthew Ranney # with much bash help from Matthew Ranney
# Auto detect the NVM_DIR using magic bash 3.x stuff # Auto detect the NVM_DIR using magic bash 3.x stuff
export NVM_DIR=$(dirname ${BASH_ARGV[0]}) export NVM_DIR=$(cd $(dirname ${BASH_SOURCE[0]:-$0}); pwd)
nvm() nvm()
{ {