503 Commits

Author SHA1 Message Date
Ville Skyttä
38e9ef18b2 Fix leak of $arg from hcitool and cryptsetup completions. 2010-04-21 19:25:02 +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ä
65fd4f1798 Fix indentation. 2010-04-21 00:29:45 +03:00
Guillaume Rousse
eeea73c93e Merge branch 'master' of git+ssh://git.debian.org/git/bash-completion/bash-completion 2010-04-19 20:48:05 +02:00
Guillaume Rousse
08e7a2cbfd initial import 2010-04-19 20:47:50 +02:00
Ville Skyttä
7fc1fa88a8 Fix handling of short xz options.
Was broken in 8f42adfa8d5e9fbbba9566d1b76d9f89667e6d98
2010-04-19 21:36:47 +03:00
Igor Murzov
43421d781b Add .txz and .tlz to the list of known extensions for xz 2010-04-19 21:10:47 +03:00
Guillaume Rousse
e28d19ef4c initial import 2010-04-19 19:59:47 +02:00
Guillaume Rousse
b6762781b8 initial import 2010-04-19 19:45:24 +02:00
Guillaume Rousse
89de94b2c7 fix interface completion, nd use _get_pword function 2010-04-19 19:45:06 +02:00
Ville Skyttä
d05634409c Make iconv encoding completion more portable. 2010-04-11 16:50:10 +03:00
Ville Skyttä
a44c07fb9e Add more iconv option completions, use _split_longopt. 2010-04-11 16:50:10 +03:00
Ville Skyttä
ac7ed92f52 Add *.taz support for gzip/gunzip. 2010-03-30 22:11:24 +03:00
Ville Skyttä
b8267d131e Add *.Z support to man completion. 2010-03-30 22:04:07 +03:00
Ville Skyttä
d6068483d2 Add *.xz support to man completion. 2010-03-30 22:02:30 +03:00
Ville Skyttä
6e373da8e1 Clean up cfagent option completions. 2010-03-30 20:49:43 +03:00
Ville Skyttä
27952228d7 Clean up cryptsetup option completions. 2010-03-30 20:49:35 +03:00
Ville Skyttä
bb16f00030 Get rid of one (not-prefixed-with-'command') grep. 2010-03-30 20:23:17 +03:00
Ville Skyttä
15cc44a67b Don't install mock completion by default, it's in upstream mock > 1.1.0. 2010-03-20 22:40:00 +02:00
Guillaume Rousse
0098435c71 rename _get_command to _get_first_arg, and move it to main file, as it is a generic utility function 2010-03-14 19:27:40 +01:00
guillaume
b68a572119 initial import 2010-03-14 19:23:30 +01:00
David Paleino
4a2a236531 Revert "Added .ogv completion to mplayer (Debian: #573001)"
This reverts commit f24dbe8dd45cba63c6acf89fa8a300b1eae56567.
2010-03-08 18:32:40 +01:00
David Paleino
f24dbe8dd4 Added .ogv completion to mplayer (Debian: #573001) 2010-03-08 12:41:34 +01:00
David Paleino
8755f716fc Merge branch 'master' of git+ssh://git.debian.org/git/bash-completion/bash-completion 2010-03-08 12:38:33 +01:00
Michele Ballabio
fca102412e Add *.t[bl]z support for pkgtools
pkgtools also supports tbz (bzip2) and tlz (lzma) compression
formats since april 2009.
2010-03-07 21:03:47 +02:00
Neville Gao
4632210154 Fix mount completion error "bash: [: too many arguments" (Alioth #312381). 2010-03-04 22:09:35 +02:00
Ville Skyttä
cf5e514efb Add *.txz support (Alioth: #312384). 2010-03-04 20:26:49 +02:00
Ville Skyttä
1b336660d7 Add/fix implicit xz decompress support (Alioth: #312383). 2010-03-04 20:24:06 +02:00
Ville Skyttä
7ef06fb2df Add break, lock, say, and state to perldoc -f completions. 2010-02-17 20:03:21 +02:00
Ville Skyttä
d7d8b2b206 Include *.pl, *.pm, and *.pod files in perldoc completions. 2010-02-17 19:57:32 +02:00
Crestez Dan Leonard
f294219990 Merge branch 'mount-fix'
Fix mount handling of escapes (Alioth: #311410, Launchpad: #219971)

Conflicts:
	CHANGES
2010-02-15 15:36:58 +02:00
Crestez Dan Leonard
91f7e8274e (mount) Handle escapes in LABEL= lines from fstab. 2010-02-15 15:33:10 +02:00
Crestez Dan Leonard
6d44b8033a (umount) Parse /proc/mounts instead of mount output on Linux
This makes it possible to easily unmount paths with spaces. Those are common
when automatically mounting usb devices.
2010-02-15 14:20:37 +02:00
Crestez Dan Leonard
4375c4b94e (mount) Split __linux_fstab_unescape function. Deal with \ at the end of strings. 2010-02-09 15:28:28 +02:00
Crestez Dan Leonard
2f61acd068 (mount) Make mount work properly with ' in fstab 2010-02-09 15:28:28 +02:00
Crestez Dan Leonard
c0b77a03f5 (mount) Make it clear that $' strings are not supported 2010-02-09 15:28:28 +02:00
Crestez Dan Leonard
1c4b461882 (mount) Fix leaking fs_* vars to the environment. Explicitly save/restore IFS to be posix conformant. 2010-02-09 15:18:19 +02:00
David Paleino
2491104bac contrib/dpkg: update completion to current API 2010-02-09 11:09:04 +01:00
Crestez Dan Leonard
b493869b8d _reply_compgen_array: Fix leaking to environment 2010-02-04 19:18:14 +02:00
Crestez Dan Leonard
1096dadc26 Separate _linux_fstab function 2010-02-04 16:47:44 +02:00
Crestez Dan Leonard
99b289474e Initial implementation of _reply_compgen_array 2010-02-04 16:31:51 +02:00
Crestez Dan Leonard
aac11de466 Fix nfs mount completion if the path to showmount contains a space. 2010-02-02 11:17:33 +02:00
Ville Skyttä
c5470fdf74 Simplify java classes-in-classpath-dirs completion.
We intentionally don't look into subdirs of dirs in classpath
(Debian: #496828) so a plain "ls" instead of "find" with non-portable
-maxdepth is fine.
2010-01-30 12:41:54 +02:00
Ville Skyttä
f62a4ad7b2 Indentation fixes. 2010-01-30 12:22:33 +02:00
Freddy Vulto
1061876bbc Merge branch 'fvu' 2010-01-29 23:24:58 +01:00
Freddy Vulto
d866854066 Fix _usergroup, cpio and chown completions
Improve test suite.
Thanks to Leonard Crestez (Alioth: #311396, Debian: #511788).

`assert_complete' is improved.  It proved difficult to tell tcl to ignore
backslash escapes, e.g. the `\b' is no BACKSPACE but a literal `b'.  The added
function `split_words_bash' should to the trick now.

Added function `assert_no_complete' which can also be reached by calling
`assert_complete' with an empty `expected' argument:

    assert_complete "" qwerty
2010-01-29 23:23:30 +01:00
Ville Skyttä
6328b108a2 Fix NFS completion if path to showmount contains spaces (Alioth: #312285). 2010-01-26 23:17:48 +02:00
Ville Skyttä
836adbbb2d Use == instead of =~ for simple suffix matching. 2010-01-24 22:11:52 +02:00
Ville Skyttä
359db46260 Don't bother looking for showmount if not doing NFS completion. 2010-01-24 19:43:16 +02:00