Skip to content

Preferences for Main? #72

@MilesCranmer

Description

@MilesCranmer

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?

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