bash-completion-tutorial
bash-completion-tutorial copied to clipboard
Why do you start adding -- (double dash) to the compgen command?
Ok, I read about it a bit now and I understand: https://unix.stackexchange.com/questions/11376/what-does-double-dash-mean-also-known-as-bare-double-dash
It's there to signify we've finished listing the options and will now only add the prefix of the completion.
I don't know if you'd want to add a comment about it in the text.
Anyway Great Tutorial!
@amir-mehler-via Thank you! You are right, I will let this issue open until I find the time to clarify this in the post.