emeraldwalk / vscode-runonsave

Visual Studio Code extension to run commands whenever a file is saved.
Apache License 2.0
182 stars 57 forks source link

RESOLVED: full path now needed for all programs to run #77

Closed aubuchcl closed 1 year ago

aubuchcl commented 1 year ago

Was working, but now seems to need the absolute path to all programs in order to run..

aubuchcl commented 1 year ago

READ HERE FOR RESOLUTION

If you're like me and you run ohmyzsh on mac with powerline 10k and you have not updated in a while, there is a case where most programs on your machine would run normally but run on save would fail to load any executables without the full path to such executable.

It seems as though updating oh my zsh and p10k solved whatever intermediary issue was causing the PATH to not be read properly.

If you're having this issue and you dont use this exact setup consider running echo $PATH on your machine (on save) as this is what gave me the hint to update oh my zsh and p10k.

basepi commented 1 year ago

@aubuchcl thanks for the tip! I had the same problem, and updating worked for me too.

bmingles commented 1 year ago

Glad you got it working