1864 Commits

Author SHA1 Message Date
Ville Skyttä
d2ce9f59bd Add bunch of cvs command option completions. 2009-10-20 21:50:21 +03:00
Ville Skyttä
992226b134 Fix annotate mode detection. 2009-10-20 21:31:54 +03:00
Ville Skyttä
2a326a015c Get cvs command options from cvs --help $command. 2009-10-20 21:17:28 +03:00
Ville Skyttä
1233ebfecd Parse global cvs options from --help-options. 2009-10-20 20:58:27 +03:00
Ville Skyttä
881bd63774 Tolerate tabs in cvs --help-commands output too. 2009-10-20 20:57:18 +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ä
44395aa45f Rename repomanage completion to _yum-utils, don't install it by default.
An updated version of it (and some more completions) will be included
in upstream yum-utils > 1.1.23.
2009-10-20 19:41:11 +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ä
52c8a81b31 Fix indentation. 2009-10-20 00:55:46 +03:00
Ville Skyttä
300cf4be3b Drop unnecessary short option completion choices. 2009-10-20 00:54:36 +03:00
Ville Skyttä
45511c54fc More mysqladmin options and option argument handling. 2009-10-20 00:41:46 +03:00
Ville Skyttä
d3729ad0b3 Complete mysqladmin long options, add bunch of missing ones. 2009-10-20 00:30:09 +03:00
Ville Skyttä
ba12c8102c Add more mysqladmin command completions. 2009-10-20 00:25:38 +03:00
Ville Skyttä
e3184ff193 Fix indentation. 2009-10-20 00:18:30 +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ä
30262cc015 Indentation fix. 2009-10-19 22:34:46 +03:00
Ville Skyttä
0e11c05a49 Add --help/--version handling. 2009-10-19 21:39:55 +03:00
Ville Skyttä
7c192589ae Improve gkrellm completion. 2009-10-19 21:33:09 +03:00
Ville Skyttä
0b970c7477 Indentation fixes. 2009-10-19 21:24:25 +03:00
Ville Skyttä
e63121c2ff More indentation fixes. 2009-10-18 22:14:00 +03:00
Ville Skyttä
2c83f0ff43 Remove many unnecessary short option completions where long ones exist. 2009-10-18 22:12:37 +03:00
Ville Skyttä
c11af089d6 Fix indentation, drop duplicate yum-arch. 2009-10-18 22:08:46 +03:00
Ville Skyttä
9636355bbe Fix indentation. 2009-10-18 21:54:54 +03:00
Ville Skyttä
5df89c7cff Fix indentation. 2009-10-18 21:38:41 +03:00
Ville Skyttä
098dcd80b6 Add portability note to long option preference. 2009-10-18 20:40:29 +03:00
Ville Skyttä
e5ee07711d Note preference towards long options only. 2009-10-18 17:58:40 +03:00
Freddy Vulto
0dda212d95 Indents 2009-10-18 12:38:04 +02: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
96d6f69b8b Preparing for release of 1.1 2009-10-15 21:30:25 +03:00
Ville Skyttä
cabaca41d0 Various updates. 2009-10-13 22:35:42 +03:00
Ville Skyttä
e31f8d8b81 Update freshmeat.net URLs. 2009-10-13 22:24:59 +03: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
Ville Skyttä
419bcb44aa bluez-utils was merged to bluez as of 4.x, rename completion accordingly. 2009-10-11 21:10:07 +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
Ville Skyttä
e2c20d96e9 Include profile snippet in tarball, install it. 2009-10-10 23:01:13 +03:00
Ville Skyttä
d03719181f Include CHANGES in dist tarball. 2009-10-10 22:48:43 +03:00
Ville Skyttä
0eb5f49dcd Create bz2 dist tarball too. 2009-10-10 22:46:54 +03:00
Guillaume Rousse
463568bc48 pattern based file completions are defined in main file 2009-10-04 23:02:55 +02:00
Guillaume Rousse
b56a8dfaae fix conflicts 2009-10-04 19:46:01 +02:00
Guillaume Rousse
506e1cb3eb new indentation policy 2009-10-04 19:42:50 +02:00
Freddy Vulto
bb47efd9b6 (testsuite) Allow trailing space on one completion
Within `match_items', if only one completion is generated, an (optional)
trailing space is allowed, because -o nospace might not be in effect.
2009-10-04 18:18:29 +02:00
Freddy Vulto
1be84710d2 Silence completing scp/sftp/ssh -F '' on bash-4
This fixes a bug under bash-4 where completing:

   scp -F 'spaced  conf' <TAB>

causes `dequote' to yield errors:

    bash: eval: line 1: unexpected EOF while looking for matching `''
    bash: eval: line 2: syntax error: unexpected end of file

The bug occurs because of a bug in bash-4.0, where quoted words are split
unintended, see: http://www.mail-archive.com/bug-bash@gnu.org/msg06095.html

Workaround is now to silence `dequote' in case of errors and wait for bash-4 to
be fixed...
2009-10-04 18:14:16 +02:00
Freddy Vulto
5177db1a58 Revert commit d3187b6f3
Reverting yesterdays commit d3187b6f3 (Bugfix completing scp/sftp/ssh -F '' on bash-4), which said:

    set -- "${COMP_LINE:0:$COMP_POINT}"

The problem with the line above is that it needs to be unquoted for `set' in order to break up COMP_LINE into separate arguments:

    set -- ${COMP_LINE:0:$COMP_POINT}

But this will yield error "unexpected EOF while looking for matching `''" if COMP_LINE is containing unbalanced single/double quotes, e.g.:

    eval set -- scp -F 'config
2009-10-04 18:08:33 +02:00