Skip to content

Plugins breaks if zle -N zle-line-init is called #70

@molovo

Description

@molovo

Noticed this when working with oz/safe-paste and willghatch/zsh-hooks. If either of those plugins is sourced alongside zsh-history-substring-search then the history-substring-search-up and history-substring-search-down functions fail to work (both in normal usage, and when using zsh -f and only sourcing zsh-history-substring-search and the affected plugins).

Without either of those plugins it works fine. Both plugins register zle-line-init, and commenting out the line which registers it allows zsh-history-substring-search to work. Is there any way around this? It doesn't seem to matter which order the plugins are called in, the issue still occurs.

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