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

z.lua conflicts with oh-my-posh #195

Open
Sh00Fly opened this issue Dec 8, 2023 · 1 comment
Open

z.lua conflicts with oh-my-posh #195

Sh00Fly opened this issue Dec 8, 2023 · 1 comment

Comments

@Sh00Fly
Copy link

Sh00Fly commented Dec 8, 2023

There is a conflict between oh-my-posh and z.lua.
When oh-my-posh is running z.lua stops updating it's database.
I have no idea what is going on there, but I found an issue opened on oh-my-posh github:
JanDeDobbeleer/oh-my-posh#2105

I discovered that if I manually change default value of _ZL_CLINK_PROMPT_PRIORITY from 99 to 0 in z.lua file then it starts working.

Like that:
local _zl_clink_prompt_priority = os.environ("_ZL_CLINK_PROMPT_PRIORITY", 0)

@themql
Copy link

themql commented Jan 16, 2024

maybe you put the z.lua init command before oh-my-posh in your profile.
I encountered the same problem, but after I adjusted the order of initialization and initialized omp first, z.lua and its database worked normally.

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

2 participants