1907 Commits

Author SHA1 Message Date
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
Freddy Vulto
8455b7ef38 Fix comment 2009-10-03 23:27:40 +02:00
Freddy Vulto
d3187b6f35 Bugfix completing scp/sftp/ssh -F '' on bash-4
Use ${COMP_LINE:0:$COMP_POINT} instead of ${COMP_WORDS[@]} when searching for
-F configfile in scp/sftp/ssh.  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

Also, using ${COMP_LINE:0:$COMP_POINT} is an improvement, because it takes the
current cursor position into account.
2009-10-03 23:23:48 +02:00
David Paleino
18081e0d86 Updating changelog timestamp, freezing for 1.1 2009-10-03 15:42:46 +02:00
Freddy Vulto
9c53f0d6e6 (testsuite) Added empty directories to git
Empty directories are ignored by git.  By putting an empty .gitignore in
the directory, the directory can be added to git.
2009-10-03 09:39:55 +02:00
Freddy Vulto
4259efb5c4 (doc) Added sample cron.sh for test suite 2009-10-03 08:34:14 +02:00
Freddy Vulto
9eb0ee2851 (test suite) Added global var `bash_versinfo_0'
This variable was introduced by unit/_get_cword.exp but is now upgraded
to a global var.
2009-10-02 16:39:11 +02:00
Freddy Vulto
d2c6b1ede0 (test suite) Added test for dd
Added test "option should be suffixed with ="
This test exhibits the bug (expected failure) that `dd if<TAB>' gets completed
with `\=' instead of `='.
2009-10-02 16:13:46 +02:00