diff --git a/CHANGELOG.md b/CHANGELOG.md index 248348d..cb20168 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ 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). +## Unreleased + +### Fixed + +- Nushell: errors on 0.33.0. + ## [0.7.2] - 2021-06-10 ### Fixed diff --git a/templates/nushell.txt b/templates/nushell.txt index 217ab4a..736ff7b 100644 --- a/templates/nushell.txt +++ b/templates/nushell.txt @@ -56,7 +56,7 @@ def __zoxide_z [...rest:string] { if (echo $rest | length) <= 1 && ($arg0 == '-' || (echo $arg0 | path expand | path exists)) { cd $arg0 } { - cd (zoxide query --exclude (pwd) -- $rest | str trim) + cd $"(zoxide query --exclude (pwd) -- $rest | str trim)" } {%- if echo %} pwd @@ -69,7 +69,7 @@ def __zoxide_zi [...rest:string] { if (shells | where active == $true | get name) != filesystem { $"zoxide: can only jump directories on filesystem(char nl)" } { - cd (zoxide query -i -- $rest | str trim) + cd $"(zoxide query -i -- $rest | str trim)" {%- if echo %} pwd {%- endif %}