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

My Todo-nu script doesn't work on nushell from >0.78 #505

Closed
petrisch opened this issue May 18, 2023 · 4 comments
Closed

My Todo-nu script doesn't work on nushell from >0.78 #505

petrisch opened this issue May 18, 2023 · 4 comments

Comments

@petrisch
Copy link

Hi everyone

I have been working on this for a while now, and I can't really figure out why it's breaking:

petrisch/todo-nu#1

On the other hand there is probably a ton of "this could be done easier in nu" in this repo,
maybe you have some suggestions?
😄

@amtoine
Copy link
Member

amtoine commented May 18, 2023

hey @petrisch 👋 😋

looking at the issue you link here, i think you should write

let filter = (get_list_filter $all $done)

👍

@petrisch
Copy link
Author

petrisch commented May 18, 2023

@amtoine wow so quick!
This is one of those: "Wait haven't I tried that" moments.
Your absolutely right. This solves the error, now the output is empty, but that's probably something simple.

edit: Yeah it works again. I'm still new to nu and I tried to nu td.nu it, having forgotten, that I switched to sourcing it and then call td.
🥳 back in power with 0.80

@amtoine
Copy link
Member

amtoine commented May 18, 2023

yeah 🥳 💪
i'm glad it works for you now with a simple change 😌

if that addresses your issue, feel free to close this discussion 😉

@petrisch
Copy link
Author

shure thank you very much 👍

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

2 participants