Repository navigation
Releases
Releases · ajeetdsouza/zoxide
0.11.0
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.
0.10.0
Added
importnow supports fetching entries fromatuin.importnow auto-detects database files.importnow skips directories matching$_ZO_EXCLUDE_DIRS.- POSIX: support for non-Cygwin Windows environments (e.g. Busybox).
- Fish: Space-Tab completions now display and run the selected command.
- Bash/POSIX/Zsh:
znow honors$CDPATH. - Bash: don't add to the database when history is disabled (
set +o history). - Nushell: export commands so the init script can be imported with
use. - Support for RISC-V (riscv64) Linux.
Changed
importnow takes a subcommand instead of the--fromflag.- Nushell: upgrade minimum supported version to v0.106.0.
Fixed
- Bash/POSIX/Zsh:
znow handles relative paths through symlinked directories. - Bash/Fish/POSIX/Zsh:
_ZO_RESOLVE_SYMLINKSnow works on Windows. - Bash: handle
$PROMPT_COMMANDvalues ending in a semicolon. - PowerShell: navigate to home directory with
zon drives that don't defineHOME. - PowerShell: use fully qualified names when invoking cmdlets.
- Zsh: skip doctor diagnostics in non-interactive shells.
- Zsh: avoid inserting a trailing space when cancelling interactive Space-Tab completions.
- Bash: avoid blanking the prompt when cancelling interactive Space-Tab completions.
- Bash/Fish/Zsh: avoid drawing a new line when Space-Tab completion finds no matches.
- Tcsh: preserve any existing
precmdalias instead of overwriting it. - Nushell: complete only directories for
z, instead of all files.
0.9.9
Added
- Support for Android ARMv7.
- Fish: support for v4.1.0+.
Fixed
- Nushell: use sigil operator when calling external commands.
- Zsh: support multiple digits in
z +Nandz -Ndirstack commands. - Bash: avoid downcasting
$PROMPT_COMMANDarray into a string. - Bash: avoid overwriting
$PIPESTATUS. - POSIX: remove non-POSIX compliant calls to
builtin. - Fish: clear existing completions when defining
zcommand.
0.9.8
Added
- Support for Tcsh.
- Added
--scoreflag tozoxide add. - POSIX: add doctor to diagnose common issues.
- Nushell: add CLI completions.
Changed
- Bash: zoxide will now automatically
cdwhen selecting Space-Tab completions.
Fixed
- Bash: doctor now handles
PROMPT_COMMANDbeing an array. - Bash: doctor now handles Visual Studio Code's shell integration.
- Bash: completions now work with
ble.sh. - Nushell: stop ignoring symlinks when
cd-ing into a directory. - Fzf: updated minimum supported version to v0.51.0.
- PowerShell: avoid setting
$errorwhen defining__zoxide_hooked. - PowerShell: handle special characters in file paths when
cd-ing into them. - Database corruption issue when the filesystem is 100% full.
0.9.7
Added
- Nushell: support for 0.102.0.
- Bash / Zsh: add doctor to diagnose common issues.
Fixed
- ksh: alias to regular POSIX implementation for better compatibility.
0.9.6
Fixed
- Fish:
builtin abbrdoesn't work on older versions. - Zsh: make
__zoxide_z_completeavailable with--no-cmd.
0.9.5
Added
- zsh: improved
cdcompletions. - Lazily delete excluded directories from the database.
- fish: detect infinite loop when using
alias cd=z. - Installer: added flags for
--bin-dir,--man-dir,--arch, and--sudo. - Nushell: support for v0.94.0+.
- bash/fish/zsh: support for
z -- dirstyle queries. - fish: improved Space-Tab completions.
- ksh: added support for the Korn shell.
Changed
- fzf: removed
--select-1from default options. The interactive selector will
now open up even if there is only one match. - Enforce that
$_ZO_DATA_DIRis an absolute path.
Fixed
- zsh: Space-Tab completion repeating output multiple times when matching single
directory - fish / Nushell / PowerShell: handle queries that look like args (e.g.
z -x). - elvish:
z -now works as expected. - fish: generated shell code avoids using aliased builtins.
- fish:
cdcommand is now copied directly from
$__fish_data_dir/functions/cd.fish. This should minimize the chances of an
infinite loop when aliasingcd=z. - Symlinks not getting added to the database when
$_ZO_RESOLVE_SYMLINKS=0. - Symlinked database files getting replaced instead of the actual files.
0.9.4
Changed
- zsh: improved Space-Tab completions.
0.9.3
0.9.2
Added
- Short option
-aforzoxide query --all.
Fixed
- PowerShell: use
globalscope for variables / functions.