0.10.1 patch release request: MSYS2/Git Bash directory tracking broken in 0.10.0 (fix already on main)
0.10.1 patch release request: MSYS2/Git Bash directory tracking broken in 0.10.0 (fix already on main)
Summary
Automatic directory tracking in zoxide 0.10.0 is broken on Git Bash / MSYS2 on Windows. The fix was merged in #1260 (1f484a4) on 2026-07-07, but 0.10.0 was released 2026-07-04 — three days before — so no released version contains it. Could we get a 0.10.1 patch release?
Environment
- Windows 11
- Git for Windows (Git Bash), Windows Terminal
- zoxide 0.10.0, installed via WinGet
Symptom
zoxide add <dir> works, but the prompt hook never learns directories:
$ __zoxide_hook
zoxide: not a directory: C:\builtin pwd -LRoot cause
The generated init script passes the pwd command as a literal string to cygpath:
$ zoxide init bash | grep -A3 __zoxide_pwd
function __zoxide_pwd() {
\command cygpath -w "\builtin pwd -L"
}It should be a command substitution: cygpath -w "$(\builtin pwd -L)". This was introduced in #1149 (template refactor) and fixed in #1260. Note zsh has the same bug and is fixed by the same commit.
Workaround
Until a release ships, this in .bashrc after eval "$(zoxide init bash)" restores normal behavior:
__zoxide_pwd() {
command cygpath -w "$(builtin pwd -L)"
}Request
Since the fix is already on main, a 0.10.1 release (or any release) would resolve this for WinGet/Scoop/Chocolatey users who can't easily build from source.
Source: ajeetdsouza/zoxide