203 Commits

Author SHA1 Message Date
Ville Skyttä
3725168d8a Combine dcop and qdbus completions into the latter, they're the same. 2009-11-01 20:52:04 +02:00
Ville Skyttä
6394f47a7c Add basic dir option argument completion for configure. 2009-11-01 20:41:57 +02:00
David Paleino
b4901c1f6e Added munindoc completion to contrib/munin-node, thanks to Tom Feiner (Debian: #553371) 2009-10-31 22:45:49 +01:00
Ville Skyttä
f1b3be2357 Drop compgen/complete option and bash version related global variables. 2009-10-31 14:40:24 +02:00
Ville Skyttä
d062d3b570 Fix "adr" typo in ssh -b completion, use one sed instead of two awk calls. 2009-10-31 14:24:01 +02:00
Ville Skyttä
82c2334e4c Add /sbin to $PATH when invoking ifconfig and iwconfig. 2009-10-31 14:05:19 +02:00
Ville Skyttä
46fa5c464b Add abook completion, based on work by Raphaël Droz. 2009-10-31 13:59:29 +02:00
Freddy Vulto
545750eb2c Added _get_pword() helper function.
Thanks to Sung Pae (Alioth #312030):
"This patch extends both __get_cword3() and __get_cword4() to accept an
additional integer argument that specifies how many places previous to
the current word the desired word resides, respecting any user
exceptions to COMP_WORDBREAKS."
2009-10-31 09:24:20 +01:00
Ville Skyttä
1d74adc296 Fix sed error in qdbus completions containing slashes (Debian: 552631). 2009-10-29 19:15:53 +02:00
David Paleino
27b266d051 contrib/aptitude: add @(add|remove)-user-tag 2009-10-26 09:37:50 +01:00
David Paleino
4b289de690 * contrib/dpkg fixed -W and --show completing on .?(u)deb's (Debian: #552109) 2009-10-23 16:43:31 +02:00
Ville Skyttä
a6cf003275 Set version to 2.x. 2009-10-22 11:17:10 +03:00
Ville Skyttä
6862bb45c1 bash < 3 support removal step 1: drop unneeded conditional sections. 2009-10-22 11:15:27 +03:00
Ville Skyttä
bc6ad9b75b Source stuff from completion dirs always in same order independently of locale. 2009-10-21 20:44:19 +03:00
Ville Skyttä
474896f2c8 Speed up installed rpm package completion on SUSE (Alioth: #312021). 2009-10-20 22:47:31 +03:00
Ville Skyttä
1ce1e0d452 Don't overwrite other completions when completing from multiple SSH known hosts files. 2009-10-20 20:05:30 +03:00
Ville Skyttä
a874b65b0e Add lftp option completion, simplify bookmark parsing, complete on hostnames. 2009-10-20 09:38:33 +03:00
Ville Skyttä
1065f46e19 Add lftpget completion. 2009-10-20 09:32:59 +03:00
Ville Skyttä
70fd9ca2df Add cvs --help command completion, get commands from --help-commands,
offer the few long options there are rather than corresponding short
ones.
2009-10-20 09:29:36 +03:00
Ville Skyttä
ba12c8102c Add more mysqladmin command completions. 2009-10-20 00:25:38 +03:00
Ville Skyttä
8ef975797d Use _split_longopt in mdadm. 2009-10-20 00:12:49 +03:00
Ville Skyttä
16c00d6d87 Add wtf completion, based on work by Raphaël Droz. 2009-10-19 23:18:57 +03:00
Ville Skyttä
7c192589ae Improve gkrellm completion. 2009-10-19 21:33:09 +03:00
Ville Skyttä
2c83f0ff43 Remove many unnecessary short option completions where long ones exist. 2009-10-18 22:12:37 +03:00
David Paleino
ffe704c24b contrib/munin-node fixed (Debian: #550943) 2009-10-16 19:46:51 +02:00
David Paleino
5ca835bfac Merge branch 'master' of git+ssh://git.debian.org/git/bash-completion/bash-completion 2009-10-16 19:43:28 +02:00
David Paleino
dbb3510524 Fixed "freq" and "rate" completion for iwconfig
Should be tested on bash < 4; on bash4 it gave:

    awk: /^[[:space:]]*Channel/ {print $4\"G\"}
    awk:                                 ^ backslash not last character on line

  (similarly for "rate")
2009-10-12 13:02:52 +02:00
Ville Skyttä
b2d7d98eeb Apply pine completion to alpine too. 2009-10-11 22:16:35 +03:00
Ville Skyttä
e2c1f4117f Apply cardctl completion to pccardctl too. 2009-10-11 21:17:29 +03:00
Ville Skyttä
dfb23dc917 Add missing entries. 2009-10-11 21:15:41 +03:00
David Paleino
bb8912b06f Don't use pidof in _known_hosts_real() to detect whether Avahi is available
It's not available on MacOS X.
    Thanks to Rainer Müller <raimue@codingfarm.de>
    (bash-completion MacPorts maintainer)
2009-10-11 11:12:09 +02:00
David Paleino
18081e0d86 Updating changelog timestamp, freezing for 1.1 2009-10-03 15:42:46 +02:00
Ville Skyttä
9322da7992 Add more common options to rpm option completions. 2009-09-29 20:37:42 +03:00
Ville Skyttä
1453625e50 Prevent rpm --define/-D completions from falling through. 2009-09-27 10:18:43 +03:00
David Paleino
fa65e312ea Remove --with-suggests and --without-suggests from aptitude completion 2009-09-26 16:51:39 +02:00
Freddy Vulto
32f22b996a Quoted $cur to prevent quoting
See Alioth #311614, bash-completion.patch3
2009-09-25 21:30:45 +02:00
David Paleino
975e950192 Split okular from evince filename extension completion, add okular-specific completions.
Needed to add okular-specific completions: xps, epub, odt, fb, mobi,
    g3 and chm.
    Also, okular can read any of its formats also in .gz/.bz2 compressed
    format, so change the regular expression to match this.
2009-09-23 23:38:52 +02:00
Ville Skyttä
7e3c9af115 Support .xz suffix in info page completions. 2009-09-21 00:47:03 +03:00
Guillaume Rousse
d13d73345e document add completions 2009-09-20 22:13:52 +02:00
David Paleino
b5e06b0ab9 Added --no-generate to "apt-cache pkgnames" calls (Debian: #547550)
From apt-cache(1):

       -g, --generate
           Perform automatic package cache regeneration, rather than use the
           cache as it is. This is the default; to turn it off, use
           --no-generate. Configuration Item: APT::Cache::Generate.

  Should make calls to apt-cache faster.
2009-09-20 19:45:27 +02:00
Ville Skyttä
aa45595251 Add /sbin to $PATH when invoking lspci and lsusb. 2009-09-20 18:33:24 +03:00
David Paleino
679a87d91b Revert "Added completion for lintian/lintian-info"
This reverts commit c200e468d61b88bcf4d14253daf42c066929bfa9.

Filing the completion to the proper package, don't keep it in
upstream's bash-completion
2009-09-19 00:53:24 +02:00
David Paleino
c200e468d6 Added completion for lintian/lintian-info 2009-09-18 23:59:41 +02:00
David Paleino
f061b21ef9 Clean [1.2.3.4]:port format in known_hosts, thanks to Xuefer (Gentoo: #284563) 2009-09-17 23:05:52 +02:00
David Paleino
3a69bd3e93 Improve service(8) completion, also look for "msg_usage" (thanks to Elan Ruusamäe <glen@delfi.ee>) 2009-09-17 22:24:21 +02:00
David Paleino
f13ea4968b Avoid sed pipe as ps itself can omit the headers (thanks to Elan Ruusamäe) 2009-09-17 22:20:29 +02:00
David Paleino
7bc1813148 Revert "Support "man cmd subcmd" completion in contrib/man (Debian: #545411)"
This reverts commit 584bc520dfbc0e6a7e949b885bb9b949f99a1ff9.

This commit broke "general" man completion, trying to give "pages"
(from man-pages(7)) after $ man |. This would've been ok only if
$ man man | (man man pages indeed works). Trying to look for a fix :)
2009-09-17 18:25:25 +02:00
David Paleino
584bc520df Support "man cmd subcmd" completion in contrib/man (Debian: #545411) 2009-09-17 18:06:24 +02:00
David Paleino
0b35bdb5af Fixed obvious brokenness (typos) in contrib/mdadm 2009-09-16 20:33:53 +02:00
David Paleino
796a7f4e37 Added sshfs completion (shares the same as scp) (Debian: #545978) 2009-09-16 14:23:22 +02:00