Skip to content
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

Nushell integration broken #986

Closed
jeanlucthumm opened this issue Feb 12, 2025 · 4 comments
Closed

Nushell integration broken #986

jeanlucthumm opened this issue Feb 12, 2025 · 4 comments

Comments

@jeanlucthumm
Copy link

zoxide init nushell | save /tmp/out.nu
source /tmp/out.nu

Results in the following error:

Error: nu::shell::cant_convert

  × Can't convert to boolean.
    ╭─[Host Environment Variables:10:19]
  9"configureFlags"=""
 10"__zoxide_hooked"="true"
    ·                   ───┬──
    ·                      ╰── can't convert string to boolean
 11"mesonFlags"=""
    ╰────
nu --version
0.102.0
zoxide --version
zoxide 0.9.6

I don't know if this is an issue with nu or zoxide

@ajeetdsouza
Copy link
Owner

Nushell makes a lot of breaking changes to their syntax, this is fixed on the latest version of zoxide.

@MonstrousOgre
Copy link

@ajeetdsouza the latest version isn't on crates.io. Can that be updated too?

@ajeetdsouza
Copy link
Owner

Done!

@Tschimmy
Copy link

I still have the problem with zoxide version 0.9.7

Error: nu::shell::cant_convert

  × Can't convert to boolean.
    ╭─[Host Environment Variables:56:19]
 55 │ "__CF_USER_TEXT_ENCODING"="0x1F5:0x0:0x0"
 56 │ "__zoxide_hooked"="true"
    ·                   ───┬──
    ·                      ╰── can't convert string to boolean
 57  "tmux_version"="$(tmux -V | sed -En \"s/^tmux ([0-9]+(.[0-9]+)?).*/\\1/p\")"
zoxide --version
zoxide 0.9.7
nu --version
0.102.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants