mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Fix for ZSH by wavded
This commit is contained in:
parent
f668d354a9
commit
66a9f01a0e
2
nvm.sh
2
nvm.sh
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user