mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Support deduction of nvm directory in zsh
In zsh nvm fails to deduce nvm's directory from nvm.sh, because `$BASH_SOURCE` is not present in zsh. Use nvm.sh paths if either `$BASH_SOURCE` or `$0` is present.
This commit is contained in:
parent
0d44ed1126
commit
28abdf4924
Loading…
Reference in New Issue
Block a user