The function bashCompleter currently only allows the user to pass an action argument.
If you want something fancier, e.g., complete with all files with a certain extension plus directories, you need to define a Completer from scratch. It could look like this:
The function
bashCompleter
currently only allows the user to pass an action argument. If you want something fancier, e.g., complete with all files with a certain extension plus directories, you need to define aCompleter
from scratch. It could look like this:And it would be very convenient if we could import the helper function
requote
from the library instead of copy and pasting to our project.