Ville Skyttä
a877567477
Improve relevance of many user/group completions, depending on context.
...
_usergroup now has a -u option, and there are new _allowed_users and
_allowed_groups helpers. These can be used to limit returned users
and/or groups to ones that the user has access to (or should be
assumed to have access to if running a "root command").
I had to remove a couple of "funky user" chown test cases because for
some reason they were broken by this change, I didn't immediately find
out why, and I couldn't come up with a valid use case that should be
supported for them that would be more beneficial than the relevance
improvements in this patch.
2010-10-31 21:28:44 +02:00
Ville Skyttä
ff1a0565bc
Fix indentation.
2010-10-31 20:59:53 +02:00
Ville Skyttä
f4c5d0c596
Add *.iso to mplayer, kaffeine, and dragon filename completions (Alioth: #311420 ).
...
xine-ui doesn't seem to support direct opening of *.iso files, so
split it and fbxine and aaxine from kaffeine and dragon completions.
2010-10-31 19:29:52 +02:00
Ville Skyttä
0073c92980
Add *.gem to tar completions.
2010-10-24 23:40:55 +03:00
Ville Skyttä
4a69a5a53c
Add ext4 features to tune2fs -O completions.
2010-10-24 12:42:45 +03:00
Ville Skyttä
e225740294
Treat all configure --*prefix as dirs.
2010-10-24 12:39:42 +03:00
Ville Skyttä
cf882a49e2
Coding style tweaks.
2010-10-24 12:37:22 +03:00
Ville Skyttä
1b13f96ff5
Remove redundant code.
2010-10-23 23:05:56 +03:00
Ville Skyttä
0f3a7ff2a5
Make man completion work with manpage names containing colons.
...
For example Perl module man pages often contain them. While at it,
add a couple of unrelated man test cases.
2010-10-23 23:03:05 +03:00
Ville Skyttä
b31530f125
Add *.tar to rpmbuild -tb filename completions.
2010-10-23 22:32:06 +03:00
Ville Skyttä
4c8ff90ab7
Coding style tweaks.
2010-10-23 15:18:13 +03:00
Ville Skyttä
75b232ad3f
Indentation/line wrapping fixes.
2010-10-23 13:32:37 +03:00
Ville Skyttä
e7494cf065
Add wodim driveropts={varirec,gigarec,tattoofile}= completions.
2010-10-23 13:07:21 +03:00
Ville Skyttä
267c4aad9c
Add wodim msifile= completion.
2010-10-23 12:52:11 +03:00
Ville Skyttä
4bcd37d800
Add wodim minbuf= completion.
2010-10-23 12:52:11 +03:00
Ville Skyttä
8ccda052b3
Update wodim option lists.
2010-10-23 12:52:11 +03:00
Ville Skyttä
7f5cfc3099
Add wodim driver= completion.
2010-10-23 12:52:06 +03:00
Ville Skyttä
7d87ca0a6d
Improve wodim foo=bar completions.
2010-10-23 12:44:45 +03:00
Ville Skyttä
9e87f134e4
Comment spelling fix.
2010-10-23 12:44:40 +03:00
Ville Skyttä
c0cef5bd44
Remove -o filenames for wodim, rely on _filedir doing it for us.
2010-10-23 12:44:40 +03:00
Ville Skyttä
562b8b3497
Tweak line wrapping.
2010-10-23 12:44:40 +03:00
Ville Skyttä
47b9fbebf2
Add varirec= to wodim driveropts completions.
2010-10-23 12:44:29 +03:00
Ville Skyttä
9aeeeec42a
Add *.m2t to mplayer filename completions (Alioth: #312770 ).
2010-10-17 22:15:50 +03:00
Ville Skyttä
a55f763363
Trivial cleanups.
2010-10-07 20:07:46 +03:00
Ville Skyttä
4cd7c7c872
Treat *.spm as *.src.rpm.
...
Source rpms are sometimes named *.spm, e.g. in SUSE.
2010-10-07 20:05:55 +03:00
Ville Skyttä
f0cc5fc2a8
Add ether-wake completion.
2010-10-07 18:03:59 +03:00
Ville Skyttä
267fb3205d
Drop unused cword.
2010-10-05 23:55:30 +03:00
Ville Skyttä
77b78b3723
Add sysbench completion.
2010-10-05 23:40:44 +03:00
Ville Skyttä
3d8efed618
Fixes to completions for filenames containing tabs (RedHat: #629518 ).
2010-10-04 20:49:17 +03:00
Ville Skyttä
35ac650e30
Make mplayer -skin completion work with post-2006 versions.
...
The subdir was "Skin" until 1.0pre8 (Jun 2006), "skins" in and after it.
2010-09-28 19:14:08 +03:00
Ville Skyttä
1a2de64f80
Localize IFS tighter in _mplayer().
2010-09-28 19:11:54 +03:00
Ville Skyttä
5a254604e7
Add mplayer -subfont completion.
2010-09-28 19:07:01 +03:00
Ville Skyttä
06083c3563
Add Fontconfig patterns to mplayer -font completions.
2010-09-28 19:04:38 +03:00
Ville Skyttä
5134d0ac1d
Add mplayer -show-profile completion.
2010-09-28 18:53:33 +03:00
Ville Skyttä
3fbee9ae9e
Drop duplicate -demuxer from mplayer option 'case' statement.
2010-09-28 18:52:23 +03:00
Ville Skyttä
729f6c4ea3
Add mplayer -audio-demuxer and -sub-demuxer completions.
2010-09-28 18:52:11 +03:00
Ville Skyttä
622abf3a6e
Add quite a bit of more stuff to ipmitool completion.
2010-09-23 22:45:49 +03:00
Ville Skyttä
0ed0de3047
Add badblocks, dumpe2fs, e2freefrag, e2label, filefrag, and tune2fs completions.
2010-09-19 14:33:09 +03:00
Ville Skyttä
b822b7cceb
Indentation fix.
2010-09-19 13:15:07 +03:00
Ville Skyttä
5bcf5bae41
Fix povray completion, broken in f8bafe285e7d20fdd82f77289059dd18f78312c2.
2010-09-19 12:41:46 +03:00
Ville Skyttä
7ea7d7b268
Simplify filename completions per new _filedir(_xspec) uppercasing behavior.
2010-09-19 12:29:29 +03:00
Ville Skyttä
d0bcb5347e
Don't complete jar and povray on filenames ending with a dot.
2010-09-19 11:48:10 +03:00
Ville Skyttä
45668c23d3
Add compgen completion.
2010-09-14 21:04:36 +03:00
Ville Skyttä
806bc113de
Line wrapping tweak.
2010-09-14 21:03:00 +03:00
Ville Skyttä
3b7ed98459
Add xmodmap and xrdb completions.
2010-09-14 21:01:17 +03:00
Guillaume Rousse
cb7fc2f7c4
rename 'contrib' directory to 'completions'
2010-09-12 16:42:21 +02:00