Open GijsTimmers opened 10 years ago
I've been hacking on this yesterday. See this branch. After lots of trouble I managed to get something working, sort of... I looked into the source code of bash
and copied some code of it, trying to understand the autocompletion API of readline
, which really sucks. :/ I managed to get autocompletion escaping spaces working for single matches, but somehow it all breaks when multiple matches are found (restarts at the beginning).
Anyone who feels like working further on this --> go ahead! I guess we need some help on this (e.g. Stackoverflow) since I clearlly don't understand the API well enough...
In this branch you'll allo find a solution for the case insensitive completion, as discussed in issue #16 . At least something that's working :-)
See issue #51 for further discussion
Expected behaviour:
Actual behaviour: