zoxide icon indicating copy to clipboard operation
zoxide copied to clipboard

[ Nushell ] Deprecation notice for future versions

Open Cyanide-1 opened this issue 1 year ago โ€ข 11 comments

I just installed zoxide for the first time on my pc and set it up in nushell according to the exact instructions given, this is a very vanilla shell so nothing should be bothering zoxide or conflicting with it.

Every time i launch the shell i get this error in my terminal: Screenshot from 2023-12-06 07-30-58

Zoxide seems to still work, but there is a deprecation notice stated for the next version of nushell, would like this to be addressed to the devs of this project, thank you for your time and i hope you have a lovely day whoever is reading this.

Cyanide-1 avatar Dec 06 '23 13:12 Cyanide-1

Hi, this issue was already reported at #630 and fixed, just not released yet ๐Ÿ˜ฌ

bew avatar Dec 06 '23 13:12 bew

Hi, this issue was already reported at #630 and fixed, just not released yet ๐Ÿ˜ฌ

ooooh ok thank you! i appreciate it! :D

Cyanide-1 avatar Dec 06 '23 14:12 Cyanide-1

How about a new release?

CarterLi avatar Dec 12 '23 07:12 CarterLi

> nu
Error: nu::shell::external_command

  ร— External command failed
    โ•ญโ”€[/Users/lexpierce/.cache/zoxide/init.nu:25:1]
 25 โ”‚ # Jump to a directory using only keywords.
 26 โ”‚ def-env __zoxide_z [...rest:string] {
    ยท โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€
    ยท    โ•ฐโ”€โ”€ did you mean 'let-env'?
 27 โ”‚   let arg0 = ($rest | append '~').0
    โ•ฐโ”€โ”€โ”€โ”€
  help: No such file or directory (os error 2)

Today is the day it broke. Can we get a new release? nu 0.88 is now released.

lexpierce avatar Dec 12 '23 19:12 lexpierce

@ajeetdsouza ^

acidghost avatar Dec 13 '23 07:12 acidghost

In case anyone needs, I compiled zoxide for windows with the latest code source

https://github.com/CarterLi/zoxide/releases/tag/nufix

CarterLi avatar Dec 14 '23 06:12 CarterLi

while we wait for @ajeetdsouza to release, is there an easy way to solve this on macos by editing some file?

malfroid avatar Dec 14 '23 20:12 malfroid

while we wait for @ajeetdsouza to release, is there an easy way to solve this on macos by editing some file?

You can install from git for now by running cargo install zoxide --git https://ajeetdsouza/zoxide

grindarius avatar Dec 16 '23 06:12 grindarius

Thanks!

I first uninstalled zoxide with brew uninstall zoxide. To install the latest zoxide from this repo, I needed a slightly different command including github.com/: cargo install zoxide --git https://github.com/ajeetdsouza/zoxide Then I needed to add ~/.cargo/bin to my PATH: https://www.nushell.sh/cookbook/setup.html#configure-your-path-and-other-environment-variables Finally the error disappeared.

malfroid avatar Dec 16 '23 10:12 malfroid

It's good, that exists solution via cargo, but I would like to use Brew package manager for terminal tools like zoxide. When will be released the new version of zoxide?

IvanProg00 avatar Dec 18 '23 07:12 IvanProg00

For anyone else waiting, you can change dev-env to dev --env and it'll work.

Just make sure that you don't re-create the file each time you open nu or your changes will be overridden.

MAST1999 avatar Jan 03 '24 14:01 MAST1999

Hey, so sorry about the delayed responses. I've been out of town the last couple of months, and wasn't able to check GitHub.

I've released v0.9.3, it should fix all the breaking changes in Nushell 0.89.0.

Thanks for your patience!

ajeetdsouza avatar Feb 12 '24 22:02 ajeetdsouza