Skip to content
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

Preferences for Main? #72

Open
MilesCranmer opened this issue Jan 10, 2025 · 0 comments
Open

Preferences for Main? #72

MilesCranmer opened this issue Jan 10, 2025 · 0 comments

Comments

@MilesCranmer
Copy link

MilesCranmer commented Jan 10, 2025

I wanted to set preferences for Main so that I can control behavior in my REPL. But seems like it requires a UUID to store it in the cache:

        uuid = Base.PkgId(m).uuid
        if uuid === nothing
            throw(ArgumentError("Module $(m) does not correspond to a loaded package!"))
        end

(from src/utils.jl)

All I really want is to write

[Main]
my_preference = true

Is this possible?

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

1 participant