1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-13 01:31:18 +02:00
Commit graph

29 commits

Author SHA1 Message Date
Doron Behar
02f62e5d21 gitlab !15: modutils completion: Fix FHS assumption
Remove calls to programs from /sbin/ with _call_program and to avoid the
system complies to the FHS.
Support modules completion for NixOS and Guix which store their kernel
modules not at /lib/modules.
2020-07-08 18:07:39 +02:00
Doron Behar
aa7b62e3fa gitlab !14 (fixup): modutils comp: Fix getting the value of kver from opt_args 2020-06-08 06:23:05 +00:00
Doron Behar
56fffd5482 gitlab !14: modutils completion: Fix getting the value of kver from opt_args
To get the _value_ of either of the options -S, -k or --set-version,
the (i) subscript flag is not needed.
2020-06-01 08:21:39 +00:00
Oliver Kiddle
09917e558b 44308: update Linux modutils completion 2019-05-20 00:10:55 +02:00
Oliver Kiddle
0ebf336489 41971: correctly break out of certain tag loops when there are matches 2017-11-02 21:36:55 +01:00
Tomasz Pala
2b0bc3282f users/22834: fix irritating bug in file glob for Linux kernel modules 2017-08-17 00:01:01 +02:00
Daniel Shahaf
7ad0001183 39479 + 39481 minus _path_files hunk (see 39489): Completion: audit 'compset -P' calls to use shortest match where applicable, plus random drive-by tweaks.
Found by grepping for patterns that can match needles of various lengths:

    :grep 'compset -[PS].*[\#^*()\|<>?~\]' Completion/
2016-10-07 13:56:31 +00:00
Timofey Titovets
6425db14a4 34053: complete additional Linux kernel module compression 2015-01-05 10:21:29 +00:00
sergio
3e199e5e17 32267: use explicit path to modinfo for completion 2014-01-17 10:15:27 +00:00
Oliver Kiddle
c5fce37bce 30199: add (-.) to many completion _files globs 2012-02-10 17:09:05 +00:00
Peter Stephenson
2b4e0140d6 GI: 29977: caching and function definition fixes for _modutils 2011-12-10 18:23:00 +00:00
Peter Stephenson
9dc573c260 Michel Dos Reis: 29482: handle .gz kernel modules 2011-06-18 19:24:41 +00:00
Peter Stephenson
e72999c092 gi1242+zsh@gmail.com: 28594:
Various new and improved completions
2011-01-09 16:57:01 +00:00
Peter Stephenson
443a64d489 Andy Spencer: 27148: ignore build directories when searching for
kernel modules in modutil completion
2009-07-14 08:57:12 +00:00
Clint Adams
9a2e1862e0 Jörg Sommer: 26453: complete modinfo -k. 2009-01-29 17:18:59 +00:00
Clint Adams
9f7fc4497a Jörg Sommer: 26452: drop completion of modinfo -f. 2009-01-29 17:16:45 +00:00
Clint Adams
4527d0dfff Jörg Sommer: 26451: use globbing to find available modules, now that modprobe -l is deprecated. 2009-01-29 17:14:53 +00:00
Clint Adams
e6e5d2eb1d Jörg Sommer: 25819: improve module parameter completion.
First, do not embedd the = in the parameter by define it a
parameter‐value separator; -S =.

Second, look for already given parameters in all words; -w.

Third, use the curcontext variable; -C.

Forth, distinct between boolean and non‐boolean parameters, i.e. do not
append a = to the end. And include the type of the parameter in the help
message. This information is only given in the full output of modinfo,
not in the narrowed output with --field.
2008-10-07 07:48:55 +00:00
Clint Adams
8538c98ddf Jörg Sommer: 25822: declare val_args as local array. 2008-10-07 07:46:09 +00:00
Clint Adams
26616e1a23 Jörg Sommer: 25821: return 0 if a modules parameter was completed. 2008-10-07 07:43:35 +00:00
Clint Adams
38b8cdbcdf 25820: add the option --field of modinfo. 2008-10-07 07:41:43 +00:00
Peter Stephenson
4a34c96289 25755/25756: Jörg Sommer: improved handling of module arguments
25759: fix dynamic named directory crash, static named directory consistency
2008-09-27 19:57:25 +00:00
Peter Stephenson
a2f158f531 Jörg Sommer: 25572: completer module parameters 2008-09-01 17:13:32 +00:00
Andrey Borzenkov
649d87c8cb 23751: complete module files too 2007-08-12 09:04:52 +00:00
Andrey Borzenkov
582732d05f 20617: fix completion of compressed modules for 2.6; add insmod completion 2004-12-10 16:05:25 +00:00
Oliver Kiddle
c3b929c634 19418: update completions to new versions 2004-02-13 18:42:03 +00:00
Oliver Kiddle
a267832ddf 18631: returning too early breaks prefix-needed style set to false 2003-06-25 09:03:04 +00:00
Oliver Kiddle
8036c4d739 18446: handle modinfo and improvements to option handling 2003-04-16 13:29:38 +00:00
Oliver Kiddle
efa93741d7 moved from Completion/Unix/Command/_modutils 2002-09-03 12:25:51 +00:00