Skip to content

[Feature Request] Allow configuration of Starship via feature options #77

@ice-perseus

Description

@ice-perseus

It would be very helpful to be able to configure Starship directly through the devcontainer.json feature options.

I'm not an expert on how features are built, but my assumption is that the empty object in the feature definition (the inner curly braces) is the place for these options:

"features": {
    "ghcr.io/schlich/devcontainer-features/starship:0": {
        // Options would go here (maybe)
    }
}

Would it be possible to add support for this?

The official Starship documentation lists all available configuration parameters: https://starship.rs/config/

I believe the implementation would involve taking the options provided in devcontainer.json and using them to generate the ~/.config/starship.toml file during the feature's installation script.

Thank you for considering this request!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions