Writing Your Own Simple Tab-Completions for Bash and Zsh

https://mill-build.org/blog/14-bash-zsh-completion.html

45 points · 2 comments · view on lemmy.world

2 Comments

TheBigRoomXXL@leminal.space · 9 pts · 1y

Learning auto-completion isn’t very fun at first, but adding it to your own tool feels great. A while ago, I made a small script to assume any role in AWS CLI with SSO, and once I added auto-completion, it was faster and felt great. It's the kind a details that make a difference.

jcb201625@fedia.io · -3 pts · 1y

Looks complicated.. use fish and be done with it!