skywind3000 / skywind3000/z.lua
"cd to the existent path if there is no match:" doesn't work in fish shell
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.1k
- Forks
- 148
- PR merge metrics
- No merged PRs in 30d
Description
fish v2.7.1
z.lua version: 5c2e0c6
There is one part in README.md
“”“
cd to the existent path if there is no match:
Sometimes if you use:
z foo
And there is no matching result in the database, but there is an existent directory which can be accessed with the name "foo" from current directory, "z foo" will just work as:
cd foo
“””
But it doesn't work as expected either with or without enabling "enhanced" mode, it will not cd into the a directory (not in the z.lua database) in the current path.
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 with the README.md section describing fallback to an existing path, then reproduce z foo in fish v2.7.1 with and without enhanced mode. Trace the fish-specific command behavior and verify that an existing current-directory path is entered when no database match exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fish, lua
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 28/100