replxx
replxx copied to clipboard
How can I achieve file path autocompletion?
With GNU Readline I can press tab to view the files and autocomplete. How can I achieve this with replxx?
Hello.
With replxx
you need to register user defined completion function and in this function you need to provide list of files explicitly.
You can check Huginn shell for example of implementation for such functionality (file name completer).
Also examples included in this (replxx
) repository contain very simple examples on how to define a completer function.
So, in other words, replxx
does not 100% replace GNU readline...
Yes. replxx
is not seamless replacement for readline
.