skywind3000 / skywind3000/z.lua
How to disable z.lua inside `$(cd "$(dirname "$0")" && pwd)`
Open
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.1k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
I have a $(cd "$(dirname "$0")" && pwd) statement in my .zshrc, but z.lua adds the dirname every time I log in. How can I temporarily disable z.lua in these statements?
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 by reproducing the behavior from the .zshrc command substitution $(cd "$(dirname "$0")" && pwd) and inspect how z.lua handles directory changes in zsh. Done means identifying a supported temporary-disable mechanism or documenting that the statement no longer causes z.lua to record the dirname while ordinary navigation still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, zsh
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100