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
David Paleino
f8bafe285e
Use _get_comp_words_by_ref to set cur, prev, [..] instead of manually using COMP_WORDS
2010-02-08 17:25:08 +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
Leonard Crestez
c5951118e9
Fix NFS mounts completion (Alioth: #312285 ).
2010-01-24 19:27:15 +02:00
Ville Skyttä
258736a47b
Look for showmount in $PATH first for easier mockability (Alioth: #312285 ).
2010-01-24 16:54:14 +02:00
Ville Skyttä
e24fc84c8d
Recognize long equivalents to -f and -C when looking for Makefile or dir option.
2010-01-19 23:14:46 +02:00
Ville Skyttä
7914d17468
Avoid use of POSIX character classes with awk for mawk compatibility.
2010-01-19 19:09:15 +02:00
Ville Skyttä
0b6baead5c
Parse pigz options from pigz, not gzip, option completion improvements.
2010-01-18 20:32:03 +02:00
Ville Skyttä
08e746ea10
Add pbzip2, pbunzip2, and pbzcat completions.
2010-01-18 19:21:08 +02:00
Ville Skyttä
825f3cce05
Use _parse_help in _bzip2().
2010-01-18 19:11:28 +02:00
Ville Skyttä
df1a02baa5
Add pigz and unpigz completion.
2010-01-18 18:54:39 +02:00
Ville Skyttä
6f235980a8
sed portability fixes (avoid '\|').
2010-01-18 18:53:41 +02:00
Ville Skyttä
688f6a0ba6
Fix leak of 'i' from _yum().
2010-01-16 13:44:03 +02:00
Ville Skyttä
7a4e09a6ac
Drop -m from --in etc completion getters.
...
http://lists.alioth.debian.org/pipermail/bash-completion-devel/2010-January/002453.html
2010-01-16 11:41:07 +02:00
Adrian Friedli
e8f6edc5af
Add ipv6calc completion.
2010-01-14 21:19:09 +02:00
Ville Skyttä
90736110f1
Protect rpm installed packages and --eval from sed metacharacters in input.
2010-01-09 11:36:13 +02:00