2487 Commits

Author SHA1 Message Date
Freddy Vulto
0118ccb05a Remove verbose options from `_upvars'. 2010-06-10 00:03:07 +02:00
Freddy Vulto
a8dd58cfa9 Added _upvars' and _upvar'.
These helper methods aid in passing variables by reference.
2010-06-09 22:37:02 +02:00
Ville Skyttä
1322b88cec Add forgotten entry for wol. 2010-06-09 23:27:01 +03:00
Ville Skyttä
efaae3f8b9 Don't override command completions with init script ones.
Need to be more careful with these now as some command completions may already
be set up before contrib/service is sourced and we want them to survive.
2010-06-09 23:10:51 +03:00
Ville Skyttä
cdbfd8e224 Split ifup and ifdown completions into contrib/ifupdown. 2010-06-09 22:53:43 +03:00
Ville Skyttä
887361302b Split ipsec completion into contrib/ipsec. 2010-06-09 22:50:33 +03:00
Ville Skyttä
3f1f6120d7 Split killall, pkill, pgrep and related completions into contrib/procps. 2010-06-09 22:47:42 +03:00
Ville Skyttä
77af9f50d3 Split kill, look, and renice completions into contrib/util-linux. 2010-06-09 22:41:01 +03:00
Ville Skyttä
bf0ec3ce0e Split chown, chgrp, and id completions into contrib/coreutils. 2010-06-09 22:33:25 +03:00
Ville Skyttä
6068efc01f Split service completion into contrib/service. 2010-06-09 22:19:05 +03:00
Ville Skyttä
c6697f91e3 Add *.s3db and *.sdb completions for sqlite3. 2010-06-07 00:09:44 +03:00
Peter Collingbourne
ce664f47f1 It is common to name sqlite3 databases as *.sqlite3 at least in the Ruby world 2010-06-07 00:06:31 +03:00
Ville Skyttä
eded5995a2 Complete modplug123 on same files as modplugplay. 2010-06-06 22:30:38 +03:00
Ville Skyttä
9566f5994a Add *.oxt (OpenOffice.org extension) to unzip/zipinfo completions. 2010-06-06 21:18:57 +03:00
Igor Murzov
f0682b2d89 makepkg(8) should complete filenames 2010-05-30 13:35:00 +04:00
Igor Murzov
5b2bd44063 Remove unnecessary returns 2010-05-29 16:14:07 +04:00
Freddy Vulto
876c8e26c1 Prevent root PATH expansion proliferating
The PATH expansion done in `_root_command()':

    PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin _command $1 $2 $3

stayed effective with bash >= 4.1.4 running in posix mode, causing PATH to grow
ever larger when doing sudo completions.  This is now fixed.

To run the automated test:

    ./run ./completion/sudo.exp

See also:
- http://www.mail-archive.com/bug-bash@gnu.org/msg06942.html
- bash patch: bash41-004
2010-05-26 22:57:08 +02:00
Igor Murzov
3933d030bf Add makepkg(8) completion 2010-05-24 23:33:52 +04:00
Igor Murzov
ee78227c9c Cleanup _pkgtool() 2010-05-24 23:08:11 +04:00
Igor Murzov
4ebdc48bc3 Add option completion for installpkg 2010-05-24 22:58:52 +04:00
David Paleino
9db025c708 Add lintian completion to Makefile.am. Thanks Ville! 2010-05-24 18:58:16 +02:00
David Paleino
36189b0c7b Added lintian completion 2010-05-24 18:23:24 +02:00
Igor Murzov
0dd7eb3731 Add option completion for upgradepkg 2010-05-24 02:28:48 +04:00
Igor Murzov
f595b60bde Add option completion for removepkg 2010-05-24 02:01:13 +04:00
Igor Murzov
b9ea1a9b57 Remove unused variable 2010-05-24 00:14:02 +04:00
Igor Murzov
cbcc031e2e Add pkgtool(8) completion 2010-05-24 00:08:57 +04:00
Igor Murzov
44082bc185 Use -o plusdirs instead of -o dirnames for {install,upgrade,explode}pkg
as we want to install packages from subfolders too
2010-05-23 16:15:17 +04:00
Ville Skyttä
80e33a1512 Make xine based players complete on *.tp and *.ts. 2010-05-23 09:46:56 +03:00
Ville Skyttä
8f16db6b5b Make mplayer complete on *.tp. 2010-05-23 09:46:34 +03:00
Ville Skyttä
6a9c8f1d9b Complete on *.fxm (JavaFX video) with xine based players and mplayer. 2010-05-18 23:54:22 +03:00
Ville Skyttä
bd35adfe21 Make ssh -b completion work on FreeBSD and Solaris. 2010-05-11 00:52:57 +03:00
Ville Skyttä
783acae98c (lint) Anchor command start more strictly to avoid false positives. 2010-05-11 00:47:52 +03:00
Ville Skyttä
5022808775 Fix MAC address completion. 2010-05-11 00:35:45 +03:00
Ville Skyttä
310eb69245 Add wol(1) completion.
May need a bit of work, see failing test case ("wol 00:").
2010-05-10 00:57:16 +03:00
Ville Skyttä
d270695374 Add --old-dirs to option completions. 2010-05-09 23:12:40 +03:00
Ville Skyttä
7a62d5b4f9 Remove duplicate --checksum, add "missing" trailing backslash. 2010-05-09 23:11:46 +03:00
Mark van Rossum
cb577d3dd2 Add basic lyx completion. 2010-05-09 21:28:27 +03:00
Ville Skyttä
14f2393024 Do meta-command completion for aoss and padsp. 2010-05-09 12:12:06 +03:00
Ville Skyttä
e69af25547 Add -context to find(1) options. 2010-05-08 00:18:40 +03:00
Mario Schwalbe
95648c40c5 Update find(1) completion (Alioth: #312491). 2010-05-08 00:10:07 +03:00
Ville Skyttä
d73afeb1f4 Add FLAC files to xine based player completions. 2010-04-29 00:09:18 +03:00
Ville Skyttä
734cdcdc1e Split rmmod, insmod etc completion to contrib/module-init-tools. 2010-04-29 00:06:24 +03:00
Ville Skyttä
0a0d73ff72 (testsuite) Fix cpio -R test on boxes with lots of users. 2010-04-26 23:49:47 +03:00
Ville Skyttä
818995dc2b (testsuite) chsh: test shell completion, fix test on boxes with lots of users. 2010-04-26 23:42:19 +03:00
Ville Skyttä
38e836f82b Fix kldunload test failure when no modules are loaded. 2010-04-26 22:59:15 +03:00
Ville Skyttä
6301ee273b Fix finger test failure when _known_hosts_real returns duplicates. 2010-04-26 21:58:14 +03:00
Ville Skyttä
9c9df7f2b7 Add pkgtools fixture, test port{upgrade,install} and pkg_deinstall against it. 2010-04-26 21:36:04 +03:00
Freddy Vulto
5dd8d3a727 Only complete xhost if (_)xhost is available 2010-04-26 20:04:48 +02:00
Freddy Vulto
59e7d21e09 (testsuite) Fix screen accessing $::BASH_VERSINFO 2010-04-26 19:53:13 +02:00
Freddy Vulto
5b8a8b3391 Fix leak of $cur from apache2ctl completion. 2010-04-26 19:45:46 +02:00