Bash completion in wrapper scripts
I have a program foo
for which I’ve written a bash-completion script, and that all works fine. I have dozens of wrapper-scripts bar1
, bar2
… which just sets one of the command-line options
Bash Completion Settings Not Working as Expected
I am trying to get bash tab completion to work as I would like, but the options do not seem produce the results I would expect. I am using bash 4.2.46 [4.2.46(2)-release (x86_64-redhat-linux-gnu)], which I cannot change or update due to my organization’s restrictions on the system I am using.