Skip to content

"You already have SDKMAN installed" after deploying dotfiles with sdkman config #1160

@gavvvr

Description

@gavvvr

Quoting #1069:

the current approach is very dotfiles unfriendly


Hi. My problem is that I am unable to install sdkman easily on a new system with get.sdkman.io, just because recently I've added a single .sdkman/etc/config to my dotfiles.

And now on a fresh new system I first deploy my dotfiles and then start installing software and tools which I need. The problem I am facing with sdkman is that now it refuses to be installed with curl -s "https://get.sdkman.io" | bash and complains: "You already have SDKMAN installed" just because the directory with .sdkman/etc/config already exists (the installation script has a simple dir existence check: [ -d "$SDKMAN_DIR" ])

As a unix-based system's user I would expect user's configuration to be stored at $XDG_HOME_CONFIG, so I totally support #941 feature request

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