3190 Commits

Author SHA1 Message Date
Ville Skyttä
7d45595493 Complete known hosts from avahi-browse only if $COMP_KNOWN_HOSTS_WITH_AVAHI is non-empty.
This effectively turns off avahi-browse by default; doing it by
default is not worth it compared to the number of various (mostly
slowness) problems it has caused people, for example Alioth #312691
and RedHat #630326.

Mandriva has applied a similar patch for some time already, although
their environment variable name was different ($COMP_AVAHI_BROWSE).
2010-10-25 21:47:33 +03:00
Ville Skyttä
0073c92980 Add *.gem to tar completions. 2010-10-24 23:40:55 +03:00
Ville Skyttä
81b916effc Sort _command and _root_command targets. 2010-10-24 22:04:12 +03:00
Ville Skyttä
edd22493fe Add sha{,224,256,384,512}sum _longopt completions. 2010-10-24 22:01:50 +03:00
Ville Skyttä
82c5d5e2ef Sort _longopt targets. 2010-10-24 21:58:03 +03:00
Ville Skyttä
90f3b3dda0 Drop simple id completion, more thorough one is in completions/coreutils. 2010-10-24 21:54:13 +03:00
Ville Skyttä
b9b807e168 Drop simple passwd completion, more thorough one is in completions/shadow. 2010-10-24 21:43:48 +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ä
5d7a13e05b Complete MAC addresses also from /etc/ethers. 2010-10-23 22:32:06 +03:00
Ville Skyttä
b31530f125 Add *.tar to rpmbuild -tb filename completions. 2010-10-23 22:32:06 +03:00
Freddy Vulto
1017b24212 (testsuite) Fix eof/timeout message when unknown level 2010-10-23 20:49:02 +02:00
Ville Skyttä
4c8ff90ab7 Coding style tweaks. 2010-10-23 15:18:13 +03:00
Ville Skyttä
1b248b5502 Make mkdir complete only on dirs. 2010-10-23 14:36:11 +03:00
Ville Skyttä
049e32ae66 Add dirs-only rmdir test case. 2010-10-23 14:35:25 +03:00
Ville Skyttä
d51ad46cd2 Improve _longopt --*=, --*dir*, --*file*, and --*path* completions. 2010-10-23 14:27:15 +03:00
Ville Skyttä
768bbc7858 Turn on -o filenames automatically also with _filedir -d. 2010-10-23 14:17:49 +03:00
Ville Skyttä
57720ee0be Treat --*path* like --*file* in _longopt(). 2010-10-23 14:15:32 +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
Freddy Vulto
37f51b9df2 (testsuite) Removed changing locale within 'expect'
Changing the locale within an `expect' session might cause bash to exit.
See: http://www.mail-archive.com/bash-completion-devel@lists.alioth.debian.org/msg02265.html
2010-10-18 22:29:59 +02:00
Ville Skyttä
245486b6df Add *.m2t and *.m2ts to xine-based player filename completions (Alioth: #312770). 2010-10-17 22:17:38 +03:00
Ville Skyttä
9aeeeec42a Add *.m2t to mplayer filename completions (Alioth: #312770). 2010-10-17 22:15:50 +03:00
Igor Murzov
011f5ce1ba Add slapt-src completion 2010-10-15 04:08:43 +04:00
Igor Murzov
a9e4cdc44f Move slackware completions to new directory 2010-10-14 02:57:29 +04:00
Igor Murzov
c18a7e3f95 Merge branch 'master' into garik 2010-10-14 02:44:32 +04:00
Andrey G. Grozin
13e811b1f9 Add *.fb2 to okular filename completions. 2010-10-13 18:44:47 +03:00
Ville Skyttä
96c6416309 Make _parse_help() work with slash separated options. 2010-10-11 00:39:50 +03:00
Ville Skyttä
52bfcefb3d Simplify _parse_help somewhat. 2010-10-11 00:38:55 +03:00
Ville Skyttä
95399f638c Fix false posives for non-option words in _parse_help (Alioth: #312750, Stephen Gildea). 2010-10-11 00:01:51 +03:00
Freddy Vulto
dff4241998 (testsuite) Fix _filedir test for "compgen -f" hack
One test was failing on bash-3
2010-10-09 22:12:51 +02:00
Ville Skyttä
cb6a9a4dfe Use "compgen -f" hack from _cd() instead of emulating -o filenames in _filedir().
See http://bugs.debian.org/272660#64 for more info about the hack.
2010-10-07 20:39:10 +03:00
Ville Skyttä
96b1594e4e Use "compopt -o filenames" if available instead of "compgen -f" hack in _cd(). 2010-10-07 20:37:06 +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ä
27dab7e198 Allow setting option for creating output to parse in _parse_help().
Required in just added sysbench completion.
2010-10-06 00:01:00 +03:00
Ville Skyttä
267fb3205d Drop unused cword. 2010-10-05 23:55:30 +03:00