New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zoxide's init-script generated for nu-shell fails with error upon sourcing #808
Comments
You may need to upgrade zoxide - Nushell has not reached v1.0 yet, and makes a lot of backward-incompatible changes every release. Also, you appear to be generating the source file manually, unlike the instructions in the README. If you update zoxide, the Nushell script may change, causing your config to break. |
@IlyaVassyutovich I had the same issue. Zoxide generates init nu-script which doesn't work. Tested in To make it work I:
So, mainly changes were:
|
@mrjackphil did you try upgrading zoxide? |
I just today installed the zoxide and tried to run it. So I was sure that I'm using the latest version. I installed it using chocolatey. Current version of zoxide in there is 0.9.2. Latest is 0.9.4. So, thank you @ajeetdsouza for reply and sorry for oversight. |
How to reproduce
Have a nu-shell
Build zoxide-init script
Add zoxide-init script to nu.config:
Start new instance of the shell
Misc
I'm not yet proficient with nu-language, but it seems like spread operator with "rest"-argumets does not work as intended with
def-env
.The text was updated successfully, but these errors were encountered: