2532 Commits

Author SHA1 Message Date
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
Igor Murzov
6abb190068 Revert "Add some missing extensions to mplayer completion"
This reverts commit 1f5ec3004afcbbce16dedff7806340c63a30cba2.
2010-07-26 02:34:55 +04:00
Igor Murzov
52f5dee24f Remove duplicate check for slackware 2010-07-25 19:53:11 +04:00
Igor Murzov
734ea2f1e5 Remove duplicate check for slackware 2010-07-25 19:53:04 +04:00
Igor Murzov
1f5ec3004a Add some missing extensions to mplayer completion 2010-07-25 19:34:36 +04: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
Anton Khirnov
b925bff04c mplayer: update lavdopts suboptions
also sort them in alphabetical order
2010-07-11 12:15:21 +03:00
Anton Khirnov
78107506c6 mplayer: fix profile names completion.
unlike other '-foo help' style options for which the first line is
mplayer copyright info followed by ^Available line, -profile help
outputs first the list of profile names and copyirght info is actually
the last line.
2010-07-11 12:11:23 +03:00
Anton Khirnov
d1f5b983af mplayer: complete on .nut and .bik files. 2010-07-11 11:51:24 +03:00
Anton Khirnov
b0c9212c54 mplayer: run mplayer with -nomsgmodule -nomsgcolor
this fixes completion if user has msgmodule and/or msgcolor enabled in
the config file.
2010-07-11 11:45:32 +03:00
Igor Murzov
5714600ffc slapt-get --filelist works only with installed packages 2010-07-09 21:46:43 +04:00
Igor Murzov
34b0c48998 Add -h|--help options to slapt-get completion 2010-07-05 19:15:53 +04:00
Igor Murzov
1a7f095d95 Improve package name completion 2010-07-05 13:40:39 +04:00
Igor Murzov
c54f41ff26 Improve slapt-get completion
now _slapt-get completes multiple package names
2010-07-05 04:23:23 +04:00
Igor Murzov
b1b192cac9 Add initial slapt-get completion
not all options work properly now:
--install and --install-set should be improved
2010-07-05 02:08:42 +04:00
Igor Murzov
89356d0728 Add completion for rpm2tgz 2010-07-04 17:48:09 +04:00
Igor Murzov
faeb77c23d Merge branch 'master' into garik
Conflicts:
	contrib/pkgtools
2010-07-04 17:06:21 +04:00
Freddy Vulto
7b67991c18 (testsuite) Fix ls test
Append slash (/) or space (" ") to completion depending on whether
`~user' home directory exists or not.
2010-07-02 07:06:32 +02:00
Ville Skyttä
ff7c17e599 Trivial cleanups. 2010-07-01 20:21:35 +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ä
2e95443e14 (testsuite) Drop ending block comments. 2010-06-22 00:07:21 +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
Freddy Vulto
a2fcc654e8 Refactored _filedir code to _quote_readline_by_ref
See also: http://www.mail-archive.com/bash-completion-devel@lists.alioth.debian.org/msg01944.html
2010-06-18 18:28:54 +02:00
Freddy Vulto
51b3e20ebc (testsuite) Drop ending block comments
Instead of writing `}; # if', write just `}' as was discussed here:

    http://www.mail-archive.com/bash-completion-devel@lists.alioth.debian.org/msg01815.html
2010-06-18 17:21:38 +02:00
Freddy Vulto
7ed79a9245 (testsuite) Remove need specify `./' with run args
This allows running tests as:

    ./run unit/_filedir.exp

instead of

    ./run ./unit/_filedir.exp
2010-06-18 16:59:38 +02: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ä
c858043cbc Add basic tests for hping2. 2010-06-16 20:34:08 +03: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
David Paleino
480f3bc908 Refreshed reportbug completion, added --from-buildd (Debian: #579471) 2010-06-11 16:27:10 +02:00
David Paleino
83252965e2 Special-case "apt-get source" (Debian: #572000) 2010-06-11 15:51:17 +02:00
Freddy Vulto
94372b2aa6 Merge branch 'use-_get_comp_words_by_ref' 2010-06-10 23:51:30 +02:00
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