I am trying to modify bash complete properties.
I can exclude a file extension for a command thusly:
complete -f -X '*hi' vim
I want to specify two file names for exclusion. How do I do this?
Note: the following command did not work.
complete -f -X '(*hi|*o)' vim
.o
files. Works fine when giving a single extension though. – Morten