-
Notifications
You must be signed in to change notification settings - Fork 591
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
Generated .zoxide.nu has incorrect syntax #661
Comments
Hmm, looks like the latest |
What you are seeing is a Line 42 in 1bfcdfa
To solve the issue you have to 1) compile from source ( |
Welcome to the club! However, after several hours of setup. Nushell is not ready for daily usage. - [nushell: atuin should not always trigger on ⬆️ · Issue #1025 · atuinsh/atuin](atuinsh/atuin#1025) - [`column_not_found` in Nushell · sxyazi/yazi · Discussion #501](sxyazi/yazi#501) - [Generated .zoxide.nu has incorrect syntax · Issue #661 · ajeetdsouza/zoxide](ajeetdsouza/zoxide#661) - [Nushell support · Issue #463 · Schniz/fnm](Schniz/fnm#463) - Syntax highlighting still requires manual setup. - https://github.com/nushell/tree-sitter-nu/blob/main/installation/neovim.md#manual-installation - nufmt is still very much in beta.
That fixed everything for me! Thank you good sir! |
Welcome to the club! However, after several hours of setup. Nushell is not ready for daily usage. - [nushell: atuin should not always trigger on ⬆️ · Issue #1025 · atuinsh/atuin](atuinsh/atuin#1025) - [`column_not_found` in Nushell · sxyazi/yazi · Discussion #501](sxyazi/yazi#501) - [Generated .zoxide.nu has incorrect syntax · Issue #661 · ajeetdsouza/zoxide](ajeetdsouza/zoxide#661) - [Nushell support · Issue #463 · Schniz/fnm](Schniz/fnm#463) - Syntax highlighting still requires manual setup. - https://github.com/nushell/tree-sitter-nu/blob/main/installation/neovim.md#manual-installation - nufmt is still very much in beta.
To be clear for anyone else facing this issue: If you're using nushell 0.89.0 and inside ~/.zoxide.nu you see def-env, then you can replace the 2 instances of |
With @ReallySnazzy fix, I also need to change
|
Fixed. |
replacing def-env with def --env works but as soon as I restart the terminal the zoxide.nu file gets overwritten and when I make the file read-only it cant init zoxide |
Please upgrade your version of zoxide. |
I'm using Arch Linux with Nushell 0.88.1. After
zoxide init nushell | save -f ~/.zoxide.nu
andsource ~/.zoxide.nu
I get the following:Then I manually change the offending parts in .zoxide.nu to
let-env
as recommended by the error but then I get:This one I was not able to fix.
Environment is:
Kernel: 6.6.10-arch1-1
Terminal: Konsole 23.08.4
Shell: Nushell 0.88.1
Zoxide version 0.9.2
The text was updated successfully, but these errors were encountered: