Skip to content

Add ability to set default command line options from environment variable #13889

@ScottPJones

Description

@ScottPJones

I've been looking at the source code (C & Julia both), PRs and Issues (such as #9266), but haven't seen anything so far that handles this.
It would be very nice to have an environment variable, such as JULIA_OPTIONS, that would be processed first, to set up defaults (which could be overriden by the command line).
For example, if you always wanted to suppress the banner, you'd simply have:
export JULIA_OPTIONS="-q"
If people think this would be useful, I can attempt a PR for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions