43
this post was submitted on 24 Jan 2025
43 points (100.0% liked)
Programming
17941 readers
145 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities [email protected]
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I've been using nushell as my shell for a long while. Completions are not as polished as zsh - both the published completions for each program, and the UX for accepting completions. But you get some nice things in exchange.
I LOVE using nushell for scripting! CLI option parsing and autocompletions are nicely built into the function syntax. You don't have to use the shell for this: you can write standalone scripts, and I do that sometimes. But if you don't use it as your shell you don't get the automatic completions.
Circling back to my first point, writing your own completions is very easy if you don't like the options that are out there. You write a function with the same name as the program you want completions for, use the built-in completions feature, and it's done.