Skip to content

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

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

Closed
ScottPJones opened this issue Nov 6, 2015 · 2 comments
Closed

Comments

@ScottPJones
Copy link
Contributor

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.

@tkelman
Copy link
Contributor

tkelman commented Nov 6, 2015

this is getting into #2716 territory

we already have too many environment variables and too many command line flags, neither is a particularly satisfying way to modify configuration. can't you just set shell aliases or wrapper scripts for this?

@KristofferC
Copy link
Member

can't you just set shell aliases or wrapper scripts for this?

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants