318 Commits

Author SHA1 Message Date
Ville Skyttä
0630139697 Add POSIX sh completion. 2010-09-05 11:02:03 +03:00
Ville Skyttä
a26e92e6f3 Improve rpm query option completions.
Add --nomanifest, --all, --file, --fileid, --ftswalk, --group, --hdrid,
--package, --pkgid, and --specfile; suggest --triggeredby, --whatprovides,
and --whatrequires only in installed package query mode.
2010-09-05 10:57:02 +03:00
Ville Skyttä
4d0b8be863 Recognize rpm query mode based on the --file, --group, --package, and --all long options (RedHat: #630328). 2010-09-05 00:03:10 +03:00
Ville Skyttä
217735d807 Add *.xsd, *.xsl, *.rng, and *.wsdl to xmllint filename completions. 2010-09-03 20:23:35 +03:00
Ville Skyttä
fa04cb8114 Add *.part to mplayer and xine-based player completions (Alioth: #312657). 2010-08-20 14:09:28 +03:00
Ville Skyttä
486369d45b Add *.3gpp and *.3gpp2 to mplayer filename completions. 2010-08-20 13:37:19 +03:00
Freddy Vulto
b867bcd64f Fix _filedir error message on bash-3
In case of `sudo cmd', _filedir might be triggered for a cmd not having a
complete command, hence `complete -p cmd' could yield an error. (Alioth
2010-08-18 23:01:26 +02:00
Guillaume Rousse
07b7ddd1dd add pure perl perldoc completion helper 2010-08-02 22:15:35 +02:00
Ville Skyttä
bdf063edd1 Add *.awb to mplayer filename completions. 2010-07-27 23:40:19 +03:00
Miklos Vajna
51b4f5b5c4 Add *.amr to mplayer file completions (Alioth: #312634). 2010-07-27 22:41:41 +03:00
Paul Walmsley
fc3c16e953 Add *.webm to mplayer file completions (Debian: #588079). 2010-07-13 21:05:26 +03:00
Ville Skyttä
5eead0ebee Fix p4 completion, was broken in f8bafe285e7d20fdd82f77289059dd18f78312c2 (Alioth: #312625). 2010-07-11 14:51:06 +03:00
Ville Skyttä
bb8ba40235 Note Anton's mplayer completion improvements. 2010-07-11 12:16:52 +03:00
Freddy Vulto
66d3b63915 Speed up `compopt' availability detection.
Used `type compopt' instead of `compopt' to detect availability of
compopt because (at least on Ubuntu) a python-command-not-found handler
is started when issuing a non-existing command, thus resulting in
considerable slower completions on systems without compopt (bash < 4.0).
2010-06-30 23:40:13 +02:00
Freddy Vulto
ccbf141e13 Fix tilde (~) completion with _filedir
This fixes tilde completion when doing for instance `ls ~<TAB>'.  See
also: Alioth #312613.

Added _tilde() helper function.

Contrary to _expand() and __expand_tilde_by_ref(), _tilde() also leaves the
tilde (~) intact.  Replacement of the tilde has been a complaint in other
bugreports, especially since plain bash completion (without bash-completion
installed) doesn't expand the tilde when doing a `ls ~<TAB>'.

To run the tests:

    ./run completion/ls.exp
    ./run unit/_tilde.exp
2010-06-30 23:28:31 +02:00
Ville Skyttä
6571c6685c Add sqlite3 option completions, include *.db in filename ones (Alioth: 312605). 2010-06-29 19:30:32 +03:00
Ville Skyttä
603c25903d Simplify/improve /etc/init.d/* completions.
Avoid subshell, do the right thing for filenames with spaces, do not
install completions for non-executable files.
2010-06-28 19:55:40 +03:00
Ville Skyttä
48027cfbe1 Add lr(un)zip completion. 2010-06-21 23:48:18 +03:00
Ville Skyttä
8346a428fc Add "short" tarball extensions to unxz, unlzma etc completions. 2010-06-21 23:32:22 +03:00
Ville Skyttä
a874f3b35a Add gif to mplayer filename completions (Alioth: #312512). 2010-06-20 15:58:51 +03:00
Ville Skyttä
6ac176ec72 Add crontab completion. 2010-06-18 00:24:04 +03:00
David Paleino
1f8b55a92a Fixed "service" completion, thanks to John Hedges (Debian: #586210)
The patch makes it safe even when every file in /etc/init.d/*
  has a proper completion (unlikely, but seems like it happened).

  Thanks to John Hedges <john@drystone.co.uk> for the patch, slightly
  modified to make it more compact.
2010-06-17 17:43:18 +02:00
Ville Skyttä
f374d13516 Activate hping2 completion also for hping and hping3. 2010-06-16 20:33:43 +03:00
David Paleino
f531998576 New stanza for next release 2010-06-16 17:53:29 +02:00
David Paleino
302559aa95 Fix CHANGES file 2010-06-16 17:52:30 +02:00
David Paleino
a7df40ce10 Add missing bug numbers, and re-wrap lines at 80 2010-06-14 08:52:37 +02:00
David Paleino
219f4ef350 Update changelog for David Paleino 2010-06-14 08:34:09 +02:00
Freddy Vulto
0e2d179ff3 Updated Freddy Vulto's CHANGES since the 1.1 release. 2010-06-13 23:01:03 +02: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ä
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
David Paleino
36189b0c7b Added lintian completion 2010-05-24 18:23:24 +02: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
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
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ä
da990d18d9 Use generic long option instead of HTML file completion for curl. 2010-04-21 23:45:39 +03:00
Ville Skyttä
807ddd4105 lzma groks *.tlz. 2010-04-21 19:12:05 +03:00
Ville Skyttä
e270eb18e3 Improve filesystem type completions. 2010-04-21 19:07:17 +03:00
Ville Skyttä
6471ebb541 Note Igor's xz improvement. 2010-04-19 21:19:34 +03:00
Ville Skyttä
855edbfdb7 wget does use filenames (e.g. with -O) (Alioth: #312458). 2010-04-13 18:41:17 +03:00
Ville Skyttä
a44c07fb9e Add more iconv option completions, use _split_longopt. 2010-04-11 16:50:10 +03:00
Ville Skyttä
d6068483d2 Add *.xz support to man completion. 2010-03-30 22:02:30 +03:00
Ville Skyttä
0271e15695 Do basic text editor completion with xemacs, sxemacs, kate, and kwrite. 2010-03-24 00:33:42 +02:00