Added
- Release binaries now come with GitHub artifact attestations.
- Nushell: don't add to the database when history is disabled (
--no-history).
Changed
- The database is now stored as plain text in
db.txt, which can be edited by
hand. An existingdb.zois migrated automatically and then removed. - macOS: the default data directory is now
$XDG_DATA_HOME/zoxideor
~/.local/share/zoxide. An existing database in
~/Library/Application Support/zoxideis migrated automatically.
Fixed
- Import: fetch atuin history in UTC instead of the local timezone.
- Bash/Zsh: fix
zfailing on Cygwin/MSYS2 due tocygpathbeing passed a bad string. - Nushell:
znow handles relative paths through symlinked directories. - POSIX: fix
zfailing to enter directories whose names start with-. - POSIX:
z -- dirnow entersdirdirectly. - Build: fix compilation failing when the source directory is read-only.
- PowerShell: the prompt hook no longer resets
$LASTEXITCODE. - Database: keep the file permissions of
db.txtwhen saving. - Zsh: init no longer leaves a non-zero exit status if
compinithas not run. - Tcsh: fix init,
zandziin directories with{or repeated spaces. - Import: skip entries that are not absolute paths. Empty paths used to corrupt
the database. - POSIX: fix
__zoxide_doctor: not founderrors with--hook noneor
--hook pwd. - Bash: fix a false doctor warning when a terminal integration (e.g. VS Code,
Warp) wraps$PROMPT_COMMAND. - Bash: the hook no longer fires the
ERRtrap when$PROMPT_COMMANDis an
array. - Nushell: don't add the starting directory to the database when the shell
starts. - PowerShell:
_ZO_ECHOnow prints the directory after a barez. - Fish: redraw the prompt when cancelling interactive Space-Tab completions.
zi: exit cleanly instead of panicking when stdout is closed early.- Import: treat empty
_Z_DATA,ZSHZ_DATA,_FASD_DATAandXDG_DATA_HOME
as unset.