Ville Skyttä
1ed4fa2f62
Comment tweaks.
2009-08-18 11:45:47 +03:00
Ville Skyttä
405e33deed
Do not require a dot in bzcmp, bzdiff, bz*grep, zcmp, zdiff, z*grep, zless, and zmore filename completions.
2009-08-18 11:31:39 +03:00
Ville Skyttä
e074f7ff83
Complete bzcat and zcat only on compressed files.
2009-08-18 11:22:16 +03:00
Ville Skyttä
8c43004135
Add lz*grep, lzless, and lzmore completion.
2009-08-18 11:15:01 +03:00
Ville Skyttä
7e92537bad
Add $compopt (":" i.e. noop with bash < 4, "compopt" with >= 4).
2009-08-12 23:49:27 +03:00
Freddy Vulto
a1f5b2e2d0
Fix _known_hosts_real() comment
2009-08-12 22:28:42 +02:00
Freddy Vulto
2e87bd4c01
Added setting COMP_KNOWN_HOSTS_WITH_HOSTFILE
...
`_known_hosts_real' will add hosts from HOSTFILE (compgen -A hostname), unless
`COMP_KNOWN_HOSTS_WITH_HOSTFILE' is set to an empty value.
To run the unit tests:
$ cd test && ./runUnit _known_hosts_real.exp
2009-08-12 22:20:56 +02:00
Freddy Vulto
57565c1ce2
Merge branch 'fvu'
2009-08-11 21:09:19 +02:00
Freddy Vulto
ce5384234c
Fixed _known_hosts_real indentation
2009-08-11 21:08:25 +02:00
Ville Skyttä
dcc30c71c2
Add *.ogv to xine-based players (Debian: #540033 ).
2009-08-05 23:47:15 +03:00
Ville Skyttä
f8319fa0ea
Add *.lzma to xz, unxz and xzcat completions.
2009-07-30 18:35:58 +03:00
Ville Skyttä
c6360dde51
Trim trailing whitespace (cosmetic, no functional changes).
2009-07-25 13:38:42 +03:00
Freddy Vulto
6d31b15011
Fix backwards compatibility calls to _known_hosts
...
This mimics the old behaviour where you could reuse `_known_hosts()' as
a helper function and pass it `-a' or `-c'.
NOTE: Using `_known_hosts' as a helper function and passing options to
`_known_hosts' is deprecated: Use `_known_hosts_real' instead.
2009-07-25 09:35:03 +02:00
Ville Skyttä
a490556a5b
Fix leaking $prev from _service().
2009-07-23 00:37:33 +03:00
Ville Skyttä
06eed586ee
Add lzcat and unlzma completion.
2009-07-20 20:00:33 +03:00
Ville Skyttä
d3d1a9f895
Add xz, xzcat, xzdec, and unxz completion.
2009-07-20 19:57:36 +03:00
Ville Skyttä
e34f96e50d
Associate *.po with poedit, gtranslator, kbabel, and lokalize.
2009-07-13 18:28:42 +03:00
Freddy Vulto
3fe193f81a
Fix completing multiple hosts (Debian: #535585 )
...
Fixed `_known_hosts_real' to allow for multiple patterns in ssh config, e.g.:
Host foo.example.net bar.example.net
IFS was set to just newline (\n), whereas `compgen -W' relies on IFS
being space-tab-newline ( \t\n) to expand hostnames which are separated
by whitespace.
Tests are updated as well (added host `jar' to config). To run the tests:
./runUnit _known_hosts_real.exp
2009-07-07 23:05:03 +02:00
Freddy Vulto
25e4eb6df3
Gave _known_hosts_real mandatory argument CWORD
...
The option `-h hostname' to `_known_hosts_real' is removed.
2009-07-03 22:28:13 +02:00
Ville Skyttä
c78e27cd7c
Associate .tsv with oocalc.
2009-07-02 22:57:01 +03:00
Ville Skyttä
2b56b95caa
Associate OOXML/MS Office 2007 extensions with OpenOffice tools.
2009-07-02 22:54:05 +03:00
David Paleino
9f192ba339
Remove -k from avahi-browse call
...
The original call to avahi-browse also had "-k", to avoid
lookups into avahi's services DB. We don't need the name
of the service, and if it contains ";", it may mistify
the result. But on Gentoo (at least), -k isn't available
(even if mentioned in the manpage), so...
2009-06-20 22:45:14 +02:00
Freddy Vulto
2770bc6927
Merge branch 'fvu'
2009-06-20 09:37:50 +02:00
Freddy Vulto
8858c8df33
Tidied getopts-check loop in _known_hosts_real
2009-06-20 09:34:46 +02:00
David Paleino
976fafa07e
Oops :)
2009-06-20 09:17:06 +02:00
David Paleino
1ab50e301e
Merge branch 'master' of git+ssh://git.debian.org/git/bash-completion/bash-completion
2009-06-20 09:14:35 +02:00
David Paleino
1e532f0f2b
Check whether avahi-daemon is started
2009-06-20 09:14:08 +02:00
Freddy Vulto
8358f35def
Merge branch 'master' of git+ssh://fvu-guest@git.debian.org/git/bash-completion/bash-completion
2009-06-18 21:52:32 +02:00
Freddy Vulto
127eaafb54
Fixed calls to _known_hosts_real
...
Made _known_hosts_real raise error if there are unprocessed arguments.
2009-06-18 21:51:01 +02:00
David Paleino
ab36c8d29d
Added avahi-discovered hosts to _known_hosts_real() (Debian: #518561 )
2009-06-18 13:12:52 +02:00
Freddy Vulto
14d0ee38ac
Fix _known_hosts calling _known_hosts_real
...
Added -h argument. Added "deprecated" notes.
2009-06-13 23:54:14 +02:00
Freddy Vulto
1f63e21ff5
Fix _user_at_host completion
...
Fixed _known_hosts_real user completion.
Added test for `finger'. To execute:
$ cd test && ./runCompletion finger.exp
2009-06-13 11:34:39 +02:00
Freddy Vulto
0b19577ed9
Added -h HOST option to _known_hosts_real
...
Modified call to _known_hosts_real in ssh, vncviewer and xhost completions.
2009-06-13 08:38:52 +02:00
Ville Skyttä
8c24c1429a
Comment spelling fixes.
2009-06-12 20:45:35 +03:00
Freddy Vulto
cd2b62bd62
Fix quotes _known_hosts calling _known_hosts_real
...
This fixes test "Config file containing space should work". See test:
./runUnit _known_hosts.exp
2009-06-11 21:26:43 +02:00
Freddy Vulto
e847d57e50
Improved test suite from bash-completion-lib
...
Run the tests with:
$ cd test
$ ./runCompletionUnit
$ ./runCompletionCompletion
The last test of unit/_known_hosts gives UNRESOLVED and needs fixing.
2009-06-09 22:49:53 +02:00
Ville Skyttä
079aca216a
Split Slackware pkgtools completion to contrib/pkgtools.
2009-06-08 20:49:52 +03:00
Ville Skyttä
cba4d8faf8
Split various FreeBSD completions to contrib/ .
2009-06-08 20:41:52 +03:00
Guillaume Rousse
acef9e78e3
split cancel completion
2009-06-08 16:55:03 +02:00
Guillaume Rousse
7522b94f33
split configure completion
2009-06-08 16:51:48 +02:00
Guillaume Rousse
7f83cb5816
split route completion
2009-06-08 16:51:17 +02:00
Guillaume Rousse
0d9669892b
split yp-tools completion
2009-06-08 16:45:09 +02:00
David Paleino
4c9dcbb836
Split pineaddr completion to contrib/pine
2009-06-05 21:44:02 +02:00
David Paleino
8c88c2283f
Split cardctl completion to contrib/cardctl
2009-06-05 21:42:59 +02:00
David Paleino
b5029b732e
Split dselect completion to contrib/dselect
2009-06-05 21:42:14 +02:00
David Paleino
c601309ae5
Split gcc completion to contrib/gcc
2009-06-05 21:41:31 +02:00
David Paleino
1924616663
Split dpkg-related completions to contrib/dpkg (and re-enable usage of grep-status if available)
2009-06-05 21:39:46 +02:00
David Paleino
2bc6994409
Split bash builtins completions to contrib/bash-builtins
2009-06-05 21:22:07 +02:00
David Paleino
653fc03d6b
Revert "Don't assume "sed" being GNU sed, use "gsed" whenever available (Debian: #501479 , Alioth: #311393 )"
...
This reverts commit 6170eb0001510426ccc7461e60e46c68992bcd14.
Conflicts:
CHANGES
2009-06-05 20:53:51 +02:00
David Paleino
e6b7e5ec64
Split man completion to contrib/man
2009-06-05 08:43:11 +02:00