-
Notifications
You must be signed in to change notification settings - Fork 950
Description
At the moment it isn't possible to set up custom environmental variables or load additional $PATH to the shell that executes script commands.
While you can specify to run scripts as login-shell (e.g. #!/bin/bash -l), this harms portability, usability and performance of script commands. It can also leak unrelated information into Raycast, which we want to avoid.
As agreed in our guidelines, we won't allow script commands that run in the login-shell in this repository. You can still use this option for your own setup. Instead, we will add preferences to allow injecting specific information, e.g. the PATH to your global node modules directory.
This is issue acts as reference for the additional preferences to set up environmental variables.
—
Created via Raycast