05139354cf
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.