Skip to content

Set up environmental variables #77

Closed
@thomaspaulmann

Description

@thomaspaulmann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions