Skip to content

Releases

0.11.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 10:33

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 existing db.zo is migrated automatically and then removed.
  • macOS: the default data directory is now $XDG_DATA_HOME/zoxide or
    ~/.local/share/zoxide. An existing database in
    ~/Library/Application Support/zoxide is migrated automatically.

Fixed

  • Import: fetch atuin history in UTC instead of the local timezone.
  • Bash/Zsh: fix z failing on Cygwin/MSYS2 due to cygpath being passed a bad string.
  • Nushell: z now handles relative paths through symlinked directories.
  • POSIX: fix z failing to enter directories whose names start with -.
  • POSIX: z -- dir now enters dir directly.
  • 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.txt when saving.
  • Zsh: init no longer leaves a non-zero exit status if compinit has not run.
  • Tcsh: fix init, z and zi in 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 found errors with --hook none or
    --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 ERR trap when $PROMPT_COMMAND is an
    array.
  • Nushell: don't add the starting directory to the database when the shell
    starts.
  • PowerShell: _ZO_ECHO now prints the directory after a bare z.
  • 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_DATA and XDG_DATA_HOME
    as unset.

0.10.0

Choose a tag to compare

@github-actions github-actions released this 04 Jul 12:41

Added

  • import now supports fetching entries from atuin.
  • import now auto-detects database files.
  • import now 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: z now 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

  • import now takes a subcommand instead of the --from flag.
  • Nushell: upgrade minimum supported version to v0.106.0.

Fixed

  • Bash/POSIX/Zsh: z now handles relative paths through symlinked directories.
  • Bash/Fish/POSIX/Zsh: _ZO_RESOLVE_SYMLINKS now works on Windows.
  • Bash: handle $PROMPT_COMMAND values ending in a semicolon.
  • PowerShell: navigate to home directory with z on drives that don't define HOME.
  • 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 precmd alias instead of overwriting it.
  • Nushell: complete only directories for z, instead of all files.

0.9.9

Choose a tag to compare

@github-actions github-actions released this 31 Jan 07:48

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 +N and z -N dirstack commands.
  • Bash: avoid downcasting $PROMPT_COMMAND array into a string.
  • Bash: avoid overwriting $PIPESTATUS.
  • POSIX: remove non-POSIX compliant calls to builtin.
  • Fish: clear existing completions when defining z command.

0.9.8

Choose a tag to compare

@github-actions github-actions released this 26 May 21:52

Added

  • Support for Tcsh.
  • Added --score flag to zoxide add.
  • POSIX: add doctor to diagnose common issues.
  • Nushell: add CLI completions.

Changed

  • Bash: zoxide will now automatically cd when selecting Space-Tab completions.

Fixed

  • Bash: doctor now handles PROMPT_COMMAND being 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 $error when 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

Choose a tag to compare

@github-actions github-actions released this 09 Feb 21:51

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

Choose a tag to compare

@github-actions github-actions released this 19 Sep 08:21

Fixed

  • Fish: builtin abbr doesn't work on older versions.
  • Zsh: make __zoxide_z_complete available with --no-cmd.

0.9.5

Choose a tag to compare

@github-actions github-actions released this 13 Sep 00:54

Added

  • zsh: improved cd completions.
  • 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 -- dir style queries.
  • fish: improved Space-Tab completions.
  • ksh: added support for the Korn shell.

Changed

  • fzf: removed --select-1 from default options. The interactive selector will
    now open up even if there is only one match.
  • Enforce that $_ZO_DATA_DIR is 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: cd command is now copied directly from
    $__fish_data_dir/functions/cd.fish. This should minimize the chances of an
    infinite loop when aliasing cd=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

Choose a tag to compare

@github-actions github-actions released this 20 Feb 23:13

Changed

  • zsh: improved Space-Tab completions.

0.9.3

Choose a tag to compare

@github-actions github-actions released this 12 Feb 22:45

Added

  • Nushell: support for v0.89.0.

0.9.2

Choose a tag to compare

@github-actions github-actions released this 04 Aug 03:16

Added

  • Short option -a for zoxide query --all.

Fixed

  • PowerShell: use global scope for variables / functions.