I want to use the readline library in a command-line C program, and I want custom autocomplete. The program is always waiting for user input and it accepts some commands. Tab-based autocomplete is working fine for my commands, but I have not been able to get rid of file name completion. Hence, if the user types a dot or the first two letters of an existing file, file name completion is performed. Could you please tell me how to disable file name autocomplete while keeping my custom autocomplete?
Thanks in advance.