-
Notifications
You must be signed in to change notification settings - Fork 546
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
fix: use str length
for str instead of length
#596
Conversation
This won't work, I have tried the same but it fails when trying to use zoxide:
|
@mati865 I believe this is a bug of nushell 0.83.0 (check it here nushell/nushell#9809) Otherwise it should work. |
A hack for this, until we fix the bug, to get people up and running is changing def-env __zoxide_z [...rest:string] to def-env __zoxide_z [...rest] and do the same for |
Yup, that's why I have mentioned it in referenced item. |
yes I agree, I faced the same issue :) Seemed to work at first |
updated fix to temporary fix. |
fwiw, I'd run with the "temporary fix" for now. I'm not sure how long it'll be to fix it the "right" way. We can do another PR here when |
I fix it by another way. |
hello there from Nushell 👋 😋 so yeah this was a bug with how |
That's good news! In that case, I think it would be better to wait for the patch release rather than release a hack here. |
we're working on it... ♻️ |
This seems to be fixed in Nushell, so I'm closing this. Thanks! |
nushell won't start as long as you use
length
.works.
works.
Different permutations don't.