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
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
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
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
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