Ville Skyttä
43ec91619d
Add perl -m-/-M- completion.
2010-11-19 22:11:48 +02:00
Ville Skyttä
ee1374f70b
Add some perl option non-completions.
2010-11-19 22:10:46 +02:00
Ville Skyttä
2f0948083d
Invoke perl module completion with the perl executable being completed.
2010-11-19 21:57:38 +02:00
Ville Skyttä
42589ab9dc
Simplify perldoc _filedir arg.
2010-11-19 21:54:53 +02:00
Guillaume Rousse
d2e8e66f09
fix optimisation (bug #312832 ), and explain the code
2010-11-16 23:05:08 +01:00
Guillaume Rousse
2b6f8de738
drop -o nospace option ( fix #312831 )
2010-11-16 22:32:13 +01:00
Ville Skyttä
53062bbae2
Don't bother passing unused arg to _perlmodules().
2010-11-16 22:59:36 +02:00
Ville Skyttä
5b8596231c
Fix perl module colon completion trimming.
2010-11-16 22:47:31 +02:00
Ville Skyttä
88924b0cac
Comment spelling fix.
2010-11-16 22:25:01 +02:00
Sergey V
17ad6be32c
Merge branch 'master' into sftp
2010-11-16 13:37:18 +03:00
Ville Skyttä
8f0055553b
Add/improve various autotools completions.
2010-11-12 21:56:40 +02:00
Guillaume Rousse
4254f3a4a5
Switch back to a shell completion function for perl and perldoc
...
completions, using an external helper just for functions and modules
completions. This is overally slower, as our helper outputs all available
modules at once, rather than just one piece of namespace, but this is
more in line with other completions
2010-11-07 20:01:41 +01:00
Guillaume Rousse
fd8ade0077
rename perldoc helper to perl, as it is now a generic perl completion
...
handler, and use it for perl completion as well
2010-11-07 01:15:02 +01:00
Guillaume Rousse
2d58e69ef9
rework to match original bash function more closely, including options completion
2010-11-06 23:54:17 +01:00
Guillaume Rousse
1f0dd273f7
no need for usage output
2010-11-06 23:42:38 +01:00
Guillaume Rousse
83fc41d5b1
use same indentation convention as for bash code
2010-11-06 23:42:22 +01:00
Sergey V
89717b0add
Merge branch 'master' into sftp
2010-11-06 23:58:29 +03:00
Ville Skyttä
b7937bf2f0
Simplify _screen_sessions(), use compgen -W, fixes partial completion.
2010-11-05 21:28:27 +02:00
Alexey Zaytsev
d68b471905
List both attached and detached sesstions for screen -x
...
Signed-off-by: Alexey Zaytsev <alexey.zaytsev@gmail.com>
2010-11-05 21:09:08 +02:00
Sergey V
66b0cd72af
slackware: update sbopkg completion
2010-11-05 18:14:01 +03:00
Sergey V
a31ce051b6
slackware: added sbopkg completion
2010-11-05 16:46:05 +03:00
Freddy Vulto
edce099a45
(install) Fix relocated helpers dir
2010-11-04 22:40:53 +01:00
Igor Murzov
49c8d71418
Update slapt-src completion
2010-11-04 20:15:04 +03:00
Ville Skyttä
642ef5344f
Add basic growisofs completion.
2010-11-03 21:11:49 +02:00
Ville Skyttä
7a174c0e1f
Add ip completion (Debian: #600617 ).
2010-11-01 21:39:03 +02:00
Ville Skyttä
0f450219b6
Remove most "-o filenames" options to "complete".
...
Turn it on dynamically when needed instead; see doc/styleguide.txt for
a longer explanation. This fixes many non-filename completions which
had been previously more or less broken due to unwanted
escape-as-filenames behavior.
2010-11-01 19:29:45 +02:00
Ville Skyttä
494c44f5a3
Protect filenames with spaces within tar files.
2010-11-01 19:29:45 +02:00
Ville Skyttä
a58697d154
Comment update.
2010-11-01 19:29:45 +02:00
Freddy Vulto
ef8b4f2722
Fix perldoc completions to run without invoking autotools
...
Alioth #312729
See also:
http://www.mail-archive.com/bash-completion-devel@lists.alioth.debian.org/msg02143.html
2010-10-31 23:20:19 +01:00
Ville Skyttä
ec82c536ed
Improve javadoc -overview,-helpfile,-stylesheetfile,-link,-linkoffline completions.
2010-10-31 21:40:22 +02:00
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