How do I get bash to autocomplete when pressing TAB after an equality sign (=)? E.g. starting Abaqus, I use the command line
abaqus job=
and would like to be able to press TAB after '=' and get a list of files. Right now, I can insert a space after the '=', press tab to get a list of files, choose file and then remove the space.
I know about bash completion, but that way to much involved except if someone has an example of exactly how to do it.
cmakecompspec, disable the programmable completion, or add back=toCOMP_WORDBREAKSif it isn't already there (highly unlikely). There are a lot of other Qs from people fighting with bash's programmable completion, you'll have no problem finding a more suitable dupe ;-)