fix(zoxide): restore CDPATH support in cd/z execution #14

Merged
rootiest merged 1 commits from fix/cdpath-cd-execution into main 2026-05-12 04:45:48 +00:00

1 Commits

Author SHA1 Message Date
rootiest 05139354cf fix(zoxide): restore CDPATH support in cd/z execution
The CDPATH regression was introduced when unifying completions: the `z`
function only checked `test -d` (absolute path existence) before falling
through to zoxide query, silently ignoring CDPATH-relative directories.
Now mirrors the completion logic — checks direct path, then each CDPATH
prefix, then zoxide — so `cd subdir` resolves correctly when `subdir`
lives under a CDPATH entry.
2026-05-12 00:43:59 -04:00