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ä
a6b227992e
Drop unused compstr variable.
2009-11-01 20:45:59 +02:00
Ville Skyttä
6394f47a7c
Add basic dir option argument completion for configure.
2009-11-01 20:41:57 +02:00
Freddy Vulto
988026a67e
Merge branch 'fvu'
2009-11-01 10:09:18 +01:00
Freddy Vulto
6925ad5081
Mutt fixes
...
- Added support for `-F configfile'. This enables using a specially
crafted muttrc for automated testing.
- Centralized call to _get_cword
- Used _get_pword
- Specified non-wordbreak characters to _get_cword() & _get_pword() for
bash-4.
- Added automated tests for -f and -A
- Fixed test suite's assert_complete() (test/library.exp) to drop only
the last element
2009-11-01 10:04:06 +01: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ä
503c224899
Don't hardcode path to ifconfig.
2009-10-31 14:16:39 +02:00
Ville Skyttä
29ee9fb3f9
Use _available_interfaces in route dev completion.
2009-10-31 14:08:43 +02:00
Ville Skyttä
82c2334e4c
Add /sbin to $PATH when invoking ifconfig and iwconfig.
2009-10-31 14:05:19 +02:00
Ville Skyttä
50b4b8459f
route(1) completion code cleanups.
2009-10-31 14:01:26 +02:00
Ville Skyttä
774d50a9c9
Install _route completion only when route is available, remove unneeded $UNAME test.
2009-10-31 13:59:41 +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
884c3f5af6
Fixes to _get_pword patch.
...
Changed the last `echo' to a `printf' to make completing `-n' or '-e'
come through. Declaring a function local (break_index & word_start)
also doesn't work on my machine: the functions become visible global. I
considered doing an unset -f at the end of __get_cword4, but I made them
global (__break_index & __word_start) because they're used so often.
2009-10-31 09:55:40 +01: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
Freddy Vulto
a55d311ae2
(testsuite) Moved unsetting COMPREPLY
2009-10-31 08:32:58 +01:00
Freddy Vulto
87de422e8b
Merge branch 'fvu'
2009-10-30 17:20:03 +01:00
Freddy Vulto
820b7c2602
(testsuite) Fix _known_hosts_real
...
Clear COMPREPLY after test now that _known_hosts_real is appending
instead of setting COMPREPLY.
2009-10-30 17:18:43 +01:00
Ville Skyttä
1d74adc296
Fix sed error in qdbus completions containing slashes (Debian: 552631).
2009-10-29 19:15:53 +02:00
Guillaume Rousse
60ee2500bc
Merge branch 'master' of git+ssh://git.debian.org/git/bash-completion/bash-completion
2009-10-27 10:45:15 +01:00
Guillaume Rousse
a923b86b82
wrap long lines
2009-10-26 11:13:00 +01:00
Guillaume Rousse
129c48b0a4
obsoletes items
2009-10-26 11:07:29 +01:00
David Paleino
e3ea415e13
Really add those two new commands to aptitude
2009-10-26 10:19:37 +01:00
David Paleino
79c7de608f
Use more obscure coding :)
2009-10-26 09:44:27 +01: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ä
eb5e62dec1
Drop internal uses of $bash4 (definition still present though).
2009-10-22 12:10:34 +03:00
Ville Skyttä
885e6dd6b6
Drop internal uses of $default, $filenames and friends.
...
Definitions are still present though, tentatively scheduled for
removal as of 2.0.
2009-10-22 12:04:29 +03:00
Ville Skyttä
f194a2d753
bash < 3 support removal step 4: drop unneeded version checks.
2009-10-22 11:50:20 +03:00
Ville Skyttä
0822f37372
Note indentation style.
2009-10-22 11:40:26 +03:00
Ville Skyttä
e16e072659
bash < 3 support removal step 3: update documentation.
2009-10-22 11:37:35 +03:00
Ville Skyttä
1c53627fa2
bash < 3 support removal step 2: don't try to load on bash < 3.
2009-10-22 11:20:47 +03: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ä
cdc0bcc3c1
Make wtf bash < 4 compatible, fix -f handling.
2009-10-21 20:27:58 +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ä
cbd15cc8a0
Don't bother defining __get_cwordX on non-applicable bash versions.
2009-10-20 22:22:47 +03:00
Ville Skyttä
c4c6eb7132
Add some cvs global option argument completions.
2009-10-20 22:08:18 +03:00
Ville Skyttä
3690fb5171
Fix indentation.
2009-10-20 21:51:47 +03:00
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