8000 `fish_postexec` should probably not be emitted on blank enter · Issue #4829 · fish-shell/fish-shell · GitHub
[go: up one dir, main page]

Skip to content

fish_postexec should probably not be emitted on blank enter #4829

@mqudsi

Description

@mqudsi

The fish_postexec event is documented as being emitted "right after executing an interactive command" and is noted to also be executed when an invalid command is entered (e.g. command not found).

However, in implementation the event is emitted too generously, e.g.

~> <ENTER>
fish_postexec called
~>

There's already a fish_prompt that is called each time the prompt is displayed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0