skywind3000 / skywind3000/z.lua
z.lua conflicts with oh-my-posh
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.1k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
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:
https://github.com/JanDeDobbeleer/oh-my-posh/pull/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)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the z.lua file at _ZL_CLINK_PROMPT_PRIORITY and compare its prompt handling with the linked oh-my-posh pull request. Reproduce the conflict with oh-my-posh running, then verify that z.lua updates its database without requiring a manual priority change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100