Skip to content

How might I do this? #97

Open
Open
@9mm

Description

@9mm

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions