Skip to content

bash-preexec broken with mise #763

Description

@ericfrederich

With on-my-bash I can either choose between using mise or the bash-preexec plugin. When you use both and have defined preexec() { echo "just typed $1"; } it doesn't work.

Without oh-my-bash, those two tools seem compatible.

This happens whether eval "$(/home/myuser/.local/bin/mise activate bash)" is before or after the preexec definition.

Here's the tail of my ~/.bashrc where it is not working.

preexec() { echo "just typed $1"; }
precmd() { echo "printing the prompt"; }

eval "$(/home/wwuh8r/.local/bin/mise activate bash)"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions