ahw / vim-hooks

Easily hook shell scripts into Vim autocmd events.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

What user is the shell script run as and are there options to change?

pajtai opened this issue · comments

I'm trying to do some automated builds (jade, sass, browserify), but I'm getting npm not found errors. Guessing it's because the user the script is run as is not the one that has node installed. Are there any options that can be set around the user to run the script, or does it have to be baked into the script itself?

Okay, it is current user apparently.... I just really didn't have node installed - sorry :( ...... now that it is, it all works as I expected.... great plugin, thanks!

No worries, glad to hear you got it sorted! So far I haven't personally had
the need to change the run-as user, but if something like that comes up
again let me know, I could probably expose an option to configure it.

Andy

On Thursday, September 10, 2015, Peter Ajtai notifications@github.com
wrote:

Okay, it is current user apparently.... I just really didn't have node
installed - sorry :( ...... now that it is, it all works as I expected....
great plugin, thanks!


Reply to this email directly or view it on GitHub
#52 (comment).