Johannes Altmanninger 93cb0e2abb __fish_complete_suffix: enable fuzzy completion, simplify
fish's internal completion logic is much smarter than the globbing in this
function, so let's just reuse "complete -C", and filter directories and
files with the given suffix.

Thanks to @Kratacoa for reporting on Gitter.

Using "complete -C" works well no prefix is given. Since in this repository
only the openocd completions pass a prefix, I left the prefix-case as is.
It could probably be improved and simplified as well.  The prefix argument was
introduced to avoid cd's side effects inside a completion. Using cd is tempting
though because it would allow to use the same logic as without a prefix.
2020-08-08 22:59:41 +02:00
..
2020-05-28 17:41:01 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2020-02-17 14:14:05 +01:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2020-04-21 21:11:26 +02:00
2020-01-24 19:05:08 +01:00
2018-05-12 13:48:32 +02:00
2019-05-05 12:09:25 +02:00
2020-07-27 17:19:44 +02:00
2017-10-01 01:11:17 -07:00
2020-06-24 20:43:56 +02:00
2020-08-07 21:06:16 +02:00
2020-07-12 14:18:42 -05:00
2019-02-14 10:57:38 +01:00
2020-07-21 16:59:05 +02:00
2020-04-26 14:39:15 +02:00
2017-04-05 15:31:13 -07:00