-
Notifications
You must be signed in to change notification settings - Fork 892
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
Set up environmental variables #77
Comments
In agreement with Thomas, we don't need this issues opened any more, therefore, I'm closing it. |
Can you elaborate why this is no longer required? |
Yes I can. As you also mentioned, there is the #614 with a nice discussion which I'm pretty sure they took in consideration, which to me, is another reason to not keep this issue opened. And to finish my comment, there are other better ways to request changes/features in Raycast, two of those ways are: Raycast Slack Community or Hope to have your comprehension. |
Unfortunately, you're right about this.
#614 was closed because the root cause could be identified to be this issue mentioned here. |
Just want to add our learning from today. We had a very tricky issue where a colleague had Android Studio not picking up the If launched via Raycast, the Our current workaround: launch Android Studio from Finder/Spotlight instead of Raycast. Just putting this here so affected Android / IntelliJ users can Google it and learn how to fix it :) Two ideas how Raycast could help:
|
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
The text was updated successfully, but these errors were encountered: