Release v0.9.7

This commit is contained in:
Ajeet D'Souza 2025-02-10 03:10:20 +05:30
parent da0fdb2bae
commit 06f9f3f27c
4 changed files with 19 additions and 8 deletions

View File

@ -7,6 +7,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.9.7] - 2025-02-10
### 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] - 2024-09-19
### Fixed

2
Cargo.lock generated
View File

@ -1115,7 +1115,7 @@ dependencies = [
[[package]]
name = "zoxide"
version = "0.9.6"
version = "0.9.7"
dependencies = [
"anyhow",
"assert_cmd",

View File

@ -10,7 +10,7 @@ name = "zoxide"
readme = "README.md"
repository = "https://github.com/ajeetdsouza/zoxide"
rust-version = "1.74.1"
version = "0.9.6"
version = "0.9.7"
[badges]
maintenance = { status = "actively-developed" }

View File

@ -26,7 +26,7 @@ def __zoxide_bin() -> str:
return zoxide
def __zoxide_env() -> typing.Dict[str, str]:
def __zoxide_env() -> dict[str, str]:
"""Returns the current environment."""
return builtins.__xonsh__.env.detype() # type: ignore # pylint:disable=no-member
@ -64,11 +64,11 @@ class ZoxideSilentException(Exception):
def __zoxide_errhandler(
func: typing.Callable[[typing.List[str]], None]
) -> typing.Callable[[typing.List[str]], int]:
func: typing.Callable[[list[str]], None]
) -> typing.Callable[[list[str]], int]:
"""Print exception and exit with error code 1."""
def wrapper(args: typing.List[str]) -> int:
def wrapper(args: list[str]) -> int:
try:
func(args)
return 0
@ -113,7 +113,7 @@ if "__zoxide_hook" not in globals():
@__zoxide_errhandler
def __zoxide_z(args: typing.List[str]) -> None:
def __zoxide_z(args: list[str]) -> None:
"""Jump to a directory using only keywords."""
if args == []:
__zoxide_cd()
@ -138,7 +138,7 @@ def __zoxide_z(args: typing.List[str]) -> None:
@__zoxide_errhandler
def __zoxide_zi(args: typing.List[str]) -> None:
def __zoxide_zi(args: list[str]) -> None:
"""Jump to a directory using interactive search."""
try:
zoxide = __zoxide_bin()