180 Commits

Author SHA1 Message Date
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
David Paleino
0a727a5cdc Add changelog line for commit 3fe193f81a3e 2009-09-16 14:21:08 +02:00
David Paleino
f86fa99740 Added changelog line for commit 1421e55 2009-09-16 12:59:34 +02:00
David Paleino
7e379590b2 Improve qemu completion (Debian: #534901) 2009-09-16 12:53:23 +02:00
David Paleino
86d6d20cb0 Added m4v completion to mplayer (Debian: #504213) 2009-09-16 12:16:56 +02:00
Freddy Vulto
8eaf5a1c2a Updated CHANGES 2009-09-13 21:29:35 +02:00
Ville Skyttä
c31daf26ae Fix sbcl file/dirname completion (Debian: #545743). 2009-09-09 18:54:18 +03:00
Ville Skyttä
bb43fd63bf Split yum into _yum and yum-arch.
The plan is to move yum completion to yum upstream soon:
http://lists.baseurl.org/pipermail/yum-devel/2009-August/005777.html
2009-09-08 20:28:51 +03:00
Ville Skyttä
81458b0b9f Add yum --enable/disableplugin completions. 2009-09-08 20:20:48 +03:00
Ville Skyttä
b5505959af Don't hardcode path to lsmod. 2009-09-06 18:51:00 +03:00
Ville Skyttä
47fb2d8f0e Revert "Improve sudo completion (Alioth: #311414)."
This reverts commit 11d4d978876ceb58eaec5dcfd82fae7b9699acfd.
Avoiding breaking completion for the sudo'd command isn't as
straightforward as I thought.
2009-09-05 00:26:48 +03:00
Freddy Vulto
de585f387d Fix _known_hosts_real() to not glob awk script
See also bugreport Alioth #311614.

Added tests for the awk script processing IP numbers.  To run the tests:

   cd test
   ./runUnit _known_hosts_real.exp
   ./runCompletion ssh.exp scp.exp sftp.exp
2009-09-04 23:08:56 +02:00
Ville Skyttä
11d4d97887 Improve sudo completion (Alioth: #311414). 2009-09-04 23:59:34 +03:00
Ville Skyttä
8770727a08 Add xz and compress support to rpmbuild -t*/--tarbuild completion. 2009-08-26 23:58:50 +03:00
Ville Skyttä
2bef79059c Add more tarball filename extensions to rpmbuild -t*/--tarbuild completion. 2009-08-26 23:55:28 +03:00
Ville Skyttä
405e33deed Do not require a dot in bzcmp, bzdiff, bz*grep, zcmp, zdiff, z*grep, zless, and zmore filename completions. 2009-08-18 11:31:39 +03:00
Ville Skyttä
e074f7ff83 Complete bzcat and zcat only on compressed files. 2009-08-18 11:22:16 +03:00
Ville Skyttä
8c43004135 Add lz*grep, lzless, and lzmore completion. 2009-08-18 11:15:01 +03:00
Ville Skyttä
7e92537bad Add $compopt (":" i.e. noop with bash < 4, "compopt" with >= 4). 2009-08-12 23:49:27 +03:00
Freddy Vulto
2e87bd4c01 Added setting COMP_KNOWN_HOSTS_WITH_HOSTFILE
`_known_hosts_real' will add hosts from HOSTFILE (compgen -A hostname), unless
`COMP_KNOWN_HOSTS_WITH_HOSTFILE' is set to an empty value.

To run the unit tests:

   $ cd test && ./runUnit _known_hosts_real.exp
2009-08-12 22:20:56 +02:00
Ville Skyttä
dcc30c71c2 Add *.ogv to xine-based players (Debian: #540033). 2009-08-05 23:47:15 +03:00
Ville Skyttä
c86a402077 Load "modules" completion if /etc/profile.d/modules.sh exists even if the "module" alias has not been defined (yet). 2009-07-29 00:22:14 +03:00
Freddy Vulto
3d7321bc68 Fix leaking $i from python completion 2009-07-24 11:52:58 +02:00
Freddy Vulto
6966cad8cf Fix leaking $i from `man' completion 2009-07-24 09:07:32 +02:00