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-03-09 19:46:43 +01:00
2019-10-29 19:13:31 +01:00
2020-05-10 22:49:25 +02:00
2020-05-15 21:35:48 +02:00
2020-06-29 19:41:33 -05:00
2017-03-16 16:08:13 +01:00
2017-10-16 19:33:38 +02:00
2020-02-17 09:55:05 +01:00
2019-11-05 09:05:46 +01:00
2018-04-09 01:09:49 +02:00
2020-03-09 19:46:43 +01:00
2020-05-19 21:15:39 +02:00
2020-08-06 21:24:26 +02:00
2020-03-09 19:46:43 +01:00
2020-05-28 17:41:01 +02:00
2020-04-20 22:39:48 +02:00
2020-05-30 10:10:07 +02:00
2020-03-10 20:56:45 +01:00
2020-04-20 22:39:48 +02:00
2018-04-01 13:42:38 -07:00
2020-05-01 21:28:43 +08:00
2020-05-15 21:35:48 +02:00
2020-04-13 23:45:40 +02:00
2020-02-28 11:16:41 +01:00
2020-02-28 11:16:41 +01:00
2018-11-22 15:23:05 +01:00
2020-04-19 05:51:25 +02:00
2020-04-21 21:11:26 +02:00
2020-03-09 19:46:43 +01:00
2020-08-06 21:24:26 +02:00
2020-08-08 22:59:41 +02:00
2017-07-18 22:40:25 -07:00
2020-03-10 20:56:45 +01:00
2020-04-12 14:01:21 -07:00
2020-01-30 16:45:02 +01:00
2020-03-09 19:46:43 +01:00
2019-05-05 12:09:25 +02:00
2020-03-06 22:23:50 +01:00
2020-03-09 19:46:43 +01:00
2020-03-09 19:46:43 +01:00
2020-08-07 21:06:16 +02:00
2017-08-04 18:02:24 -07:00
2020-04-20 22:39:48 +02:00
2017-09-09 23:35:47 -07:00
2020-05-01 21:28:43 +08:00
2019-05-05 12:09:25 +02:00
2019-02-10 14:44:50 +01:00
2020-05-15 08:25:07 +02:00
2019-02-10 14:44:50 +01:00
2019-05-05 12:09:25 +02:00
2020-05-15 08:25:07 +02:00
2018-04-01 13:42:38 -07:00
2020-07-01 09:27:20 -05:00
2019-05-05 12:09:25 +02:00
2018-05-26 12:20:04 -05:00
2020-05-15 21:35:48 +02:00
2020-02-17 14:14:05 +01:00
2019-12-19 23:44:58 +01:00
2020-04-05 17:25:02 -07:00
2020-05-15 08:25:07 +02:00
2017-06-09 12:12:36 -07:00
2020-05-15 21:35:48 +02:00
2019-12-02 15:15:33 +01:00
2019-05-05 12:09:25 +02:00
2019-05-05 12:09:25 +02:00
2020-06-04 18:25:02 +02:00
2019-05-05 12:09:25 +02:00
2020-04-07 22:30:05 +02:00
2018-04-25 15:45:12 +02:00
2019-01-26 19:20:16 +01:00
2020-05-16 11:58:12 +02:00
2020-03-09 19:46:43 +01:00
2017-12-12 19:18:47 +01:00
2019-10-29 19:07:35 +01:00
2017-12-21 16:39:06 +01:00
2020-07-12 00:11:37 +02:00
2020-06-28 20:11:39 -05:00
2020-03-09 19:46:43 +01:00
2018-04-01 13:42:38 -07:00
2018-04-01 13:42:38 -07:00
2018-04-01 13:42:38 -07:00
2020-03-09 19:46:43 +01:00
2020-08-05 20:01:19 +02:00
2019-10-26 18:11:29 +02:00
2020-03-07 14:13:58 +01:00
2020-02-17 09:55:05 +01:00
2020-02-17 09:55:05 +01:00
2020-02-17 09:55:05 +01:00
2018-04-01 13:42:38 -07:00
2017-04-23 20:08:40 -07:00
2020-01-22 16:33:56 +01:00
2020-01-22 16:33:56 +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
2020-05-15 21:35:48 +02:00
2018-05-12 13:48:32 +02:00
2020-08-07 21:06:16 +02:00
2019-05-05 12:09:25 +02:00
2019-02-26 18:09:37 +00:00
2019-02-10 14:44:50 +01:00
2020-04-20 22:39:48 +02:00
2020-04-18 11:11:27 +02:00
2019-12-09 21:07:21 +01:00
2020-06-24 18:35:36 +02:00
2019-02-10 14:44:50 +01:00
2020-07-12 00:15:24 +02:00
2019-05-05 12:09:25 +02:00
2020-03-09 19:46:43 +01:00
2017-07-18 14:42:50 -07:00
2019-05-05 13:34:38 +02:00
2020-07-27 17:19:44 +02:00
2020-03-09 19:46:43 +01:00
2018-08-13 18:24:42 +02:00
2017-09-09 23:35:47 -07:00
2020-03-09 19:46:43 +01:00
2020-03-09 19:46:43 +01:00
2020-05-15 08:25:07 +02:00
2020-05-08 20:00:07 +02:00
2017-10-01 01:11:17 -07:00
2020-05-29 20:51:05 +02:00
2017-09-09 23:35:47 -07:00
2020-05-14 21:07:37 +02:00
2019-11-04 20:47:58 +01:00
2020-05-30 12:10:24 +02:00
2020-07-01 00:40:32 +02:00
2020-03-09 19:46:43 +01:00
2020-06-20 21:47:19 +02:00
2020-04-19 04:24:28 +02:00
2020-03-09 19:46:43 +01:00
2017-10-14 08:33:02 -07:00
2020-06-26 21:25:13 +02:00
2020-05-22 21:24:59 +02:00
2017-10-14 08:33:02 -07:00
2020-03-09 19:46:43 +01:00
2020-03-09 19:46:43 +01:00
2020-03-09 19:46:43 +01:00
2020-08-05 12:23:49 -07:00
2020-03-09 19:46:43 +01:00
2020-06-17 16:48:13 +02:00
2019-03-09 18:04:21 +01:00
2020-05-24 20:18:06 +02:00
2020-05-19 21:15:39 +02:00
2020-08-01 12:09:31 +02:00
2020-05-15 08:25:07 +02:00
2020-06-24 20:43:56 +02:00
2020-08-07 21:06:16 +02:00
2020-05-08 22:36:57 +08:00
2020-03-09 19:46:43 +01:00
2020-07-12 14:18:42 -05:00
2019-02-14 10:57:38 +01:00
2020-03-09 19:46:43 +01:00
2020-03-09 19:46:43 +01:00
2020-07-21 16:59:05 +02:00
2017-09-14 12:36:37 +08:00
2020-03-09 19:46:43 +01:00
2018-03-12 08:24:42 -05:00
2020-05-15 08:25:07 +02:00
2020-03-09 19:46:43 +01:00
2020-04-26 14:39:15 +02:00
2020-05-15 21:35:48 +02:00
2020-03-09 19:46:43 +01:00
2017-04-05 15:31:13 -07:00
2020-03-09 19:46:43 +01:00
2020-05-15 21:35:48 +02:00
2020-03-09 19:46:43 +01:00
2020-03-09 19:46:43 +01:00
2020-05-15 21:35:48 +02:00
2020-03-09 19:46:43 +01:00