Skip to content

RFC: Fully interactive management #334

Open
@desyncr

Description

@desyncr

Currently Antigen can load bundles and apply themes in interactive mode
but in order to persist this configuration through shell sessions the user needs to modify .zshrc or .antigenrc.

While this is a non-issue a fully interactive configuration mode would be on par with modern tools such as git (see git config).

Example usage

antigen bundle example/bundle # adds example/bundle to $ANTIGEN/.antigenrc
# no need for antigen apply

antigen config -e # opens $ANTIGEN/.antigenrc in $EDITOR
antigen config # display configured bundles and themes

antigen remove example/bundle # removes example/bundle from $ANTIGEN/.antigenrc
# no need for antigen apply

Drawbacks and migrations from v1

Configuration for v1.x can easily be upgraded by antigen itself by looking into $ANTIGEN/.antigenrc and migrating if necessary (not found), showing a one-time warning message about this migration.

Target version

It wasn't planned for v2 but that's still an option. More probably v3.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions