Skip to content

Be smarter about where antidote install writes within zsh_plugins.txt #60

@mattmc3

Description

@mattmc3

Some plugins like history-substring-search and zsh-syntax-highlighting like to be loaded last. antidote install just puts plugins at the bottom of the list in .zsh_plugins.txt. Let's add a simple barrier detection that users can put in their bundle file to tell antidote where to put new plugins:

rupa/z
zsh-users/completions

# < new plugins get inserted here because ### FOOTER ### line detected
### Footer ###

zsh-users/zsh-syntax-highlighting
zsh-users/zsh-history-substring-search

I'm not happy with the word "footer", but this is fine for now. Just something where the user can indicate where new installs go if they choose to. Otherwise, it goes at the end like it does today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions