diff --git a/.github/workflows/no-response.yml b/.github/workflows/no-response.yml index dd40342..d4513e6 100644 --- a/.github/workflows/no-response.yml +++ b/.github/workflows/no-response.yml @@ -17,6 +17,5 @@ jobs: daysUntilClose: 30 responseRequiredLabel: waiting-for-response closeComment: > - This issue has been automatically closed due to inactivity. If you feel - this is still relevant, please comment here or create a fresh issue. + This issue has been automatically closed due to inactivity. If you feel this is still relevant, please comment here or create a fresh issue. diff --git a/CHANGELOG.md b/CHANGELOG.md index 069b1a0..8f6ad00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Nushell: add support for v0.86.0. +- Nushell: support for v0.86.0. ## [0.9.2] - 2023-08-04 @@ -28,7 +28,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Fish/Zsh: aliases on `__zoxide_z` will now use completions. -- Nushell: add support for v0.78.0. +- Nushell: support for v0.78.0. - Fish: plugin now works on older versions. - PowerShell: warn when PowerShell version is too old for `z -` and `z +`. - PowerShell: support for PWD hooks on all versions. diff --git a/shell.nix b/shell.nix index 2059f4f..aaf088f 100644 --- a/shell.nix +++ b/shell.nix @@ -1,6 +1,6 @@ let pkgs = import (builtins.fetchTarball - "https://github.com/NixOS/nixpkgs/archive/22a6958f46fd8e14830d02856ff63b1d0e5cc3e4.tar.gz") { + "https://github.com/NixOS/nixpkgs/archive/4d513ab5f170d66afa3387bdd718d41aa936ee9f.tar.gz") { overlays = [ rust ]; }; rust = import (builtins.fetchTarball diff --git a/templates/xonsh.txt b/templates/xonsh.txt index 07baee5..2ca29a7 100644 --- a/templates/xonsh.txt +++ b/templates/xonsh.txt @@ -38,7 +38,7 @@ def __zoxide_pwd() -> str: {%- else %} pwd = __zoxide_env().get("PWD") if pwd is None: - raise Exception("$PWD not found") + raise RuntimeError("$PWD not found") {%- endif %} return pwd @@ -53,7 +53,7 @@ def __zoxide_cd(path: typing.Optional[typing.AnyStr] = None) -> None: args = [path] _, exc, _ = xonsh.dirstack.cd(args) if exc is not None: - raise Exception(exc) + raise RuntimeError(exc) {%- if echo %} print(__zoxide_pwd()) {%- endif %}