Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wupengcheng6819 opened this issue Jan 17, 2025 · 0 comments
Open

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

wupengcheng6819 opened this issue Jan 17, 2025 · 0 comments

Comments

@wupengcheng6819
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant