Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How might I do this? #97

Open
9mm opened this issue Apr 8, 2023 · 0 comments
Open

How might I do this? #97

9mm opened this issue Apr 8, 2023 · 0 comments

Comments

@9mm
Copy link

9mm commented Apr 8, 2023

I absolutely love using NVM_LAZY_LOAD, I had no idea that was dragging oh-my-zsh down for so many years...

One thing though is I have a custom bash script aliased to v which opens MacVim to the current directory:

alias v='~/.zsh/scripts/mvim.sh'

mvim.sh

#/bin/bash

exec mvim $@ > /dev/null 2>&1

exit $?

How can I make NVM load when I run this custom command? I have tried putting v in the NVM_LAZY_LOAD_EXTRA_COMMANDS but it still appears that eslint won't load in MacVim (it shows the error env: node: not a directory)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant