Skip to content

Instand mode doesn't work with omp (oh-my-posh) #1495

Open
@wupengcheng6819

Description

I use oh-my-posh as my bash prompts, having this in .bashrc:
eval "$(oh-my-posh init bash --config ~/.poshthemes/xyz.json)"

The default fuck works fine, but as I switched to the Instand mode:
eval $(thefuck --alias --enable-experimental-instant-mode)

fuck says this and doesn't give anything:

[WARN] PS1 doesn't contain user command mark, please ensure that PS1 is not changed after The Fuck alias initialization
No fucks given

Now, the PS1 is hidden by omp:

# echo $PS1
$(_omp_get_primary)

How can I resolve this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions