1089 Commits

Author SHA1 Message Date
Freddy Vulto
65c2ea97ae Patched _known_hosts() to support multiple {Global,User}KnownHosts in
SSH config files, thanks to Thomas Nilsson.
(Alioth: #311595) (Debian: #524190)
2009-04-16 23:25:22 +02:00
Ville Skyttä
7ffb612695 Use _split_longopt in _iptables. 2009-04-16 20:54:14 +03:00
Ville Skyttä
fcce6cc263 Add make --old/new-file, --assume-old/new, --what-if value completions. 2009-04-15 11:34:31 +03:00
Ville Skyttä
10f2c7bea5 Use _split_longopt in _make. 2009-04-15 11:32:49 +03:00
Ville Skyttä
78f2e7cd91 Use _split_longopt in _chkconfig. 2009-04-15 11:20:00 +03:00
Ville Skyttä
b556b22d87 Do not assume all --foo= options take filenames in generic long option completion, assume only that --*file*= does, and that --*dir*= takes dirs. 2009-04-15 00:09:33 +03:00
Ville Skyttä
bce0b30bbe Use _split_longopt in _longopt. 2009-04-14 23:55:50 +03:00
Ville Skyttä
ed93d0b2b7 Add chgrp --reference value completion. 2009-04-14 23:48:11 +03:00
Ville Skyttä
ea731310a3 Add chown --from and --reference value completions. 2009-04-14 23:46:38 +03:00
Ville Skyttä
98839013db Use _split_longopt in chown, chgrp. 2009-04-14 23:43:39 +03:00
Ville Skyttä
fc2c8a5a8e Use _split_longopt to improve and clean up aspell completion. 2009-04-14 23:35:33 +03:00
Ville Skyttä
45182e1809 Add _split_longopt() helper for improved handling of long options that take arguments in both "--foo bar" and "--foo=bar" formats. 2009-04-14 23:16:47 +03:00
David Paleino
a66323a18f Merge branch 'master' of git+ssh://git.debian.org/git/bash-completion/bash-completion 2009-04-14 21:41:15 +02:00
David Paleino
204afd77bf Add .dvi.{gz,bz2} completion for evince/okular (Debian: #522656) 2009-04-14 21:40:57 +02:00
Ville Skyttä
baa1aa3afd Protect various completions from unusual user input by not embedding the input in external command arguments. 2009-04-14 22:26:14 +03:00
Ville Skyttä
670ad0e9d6 Use POSIX compliant arguments to tail in mkisofs completion. 2009-04-14 22:09:39 +03:00
Ville Skyttä
95cd673b5c Add mount -L and -U completion (Raphaël Droz). 2009-04-14 21:24:20 +03:00
Ville Skyttä
5c0e30473f Add /etc/pki/tls/openssl.cnf to list of default openssl config files, search for default ones only if -config is not given. 2009-04-14 14:45:46 +03:00
Ville Skyttä
f70bba5b5a Rename installed_alternatives() to _installed_alternatives(). 2009-04-14 14:40:31 +03:00
Ville Skyttä
ab40c79bf7 Complete on plain alternatives like update-alternatives. 2009-04-14 14:36:50 +03:00
Ville Skyttä
30dffeb51a Add more mod-like audio file extensions for xine-based players and timidity. 2009-04-14 14:30:04 +03:00
Ville Skyttä
1818c0dd57 Add modplugplay filename completion. 2009-04-14 14:26:22 +03:00
Ville Skyttä
7e30ee814b Fix rpm --whatrequires/--whatprovides completions with spaces and
other unusual characters, add filename based --whatrequires
completion.
2009-04-14 00:53:56 +03:00
Ville Skyttä
86574164df Always use /etc/shells for chsh -s completion, don't complete on
comment lines in it.

Invoking chsh -l does unwanted things on some systems, such as FreeBSD.
2009-04-14 00:46:12 +03:00
Ville Skyttä
08d3738d56 Improve aspell dictionary completion: don't hardcode data-dir, get canonical dicts from 'aspell dicts'. 2009-04-13 21:15:02 +03:00
Ville Skyttä
8df2728adf mkinitrd reviewed, move to contrib. 2009-04-13 20:39:13 +03:00
Ville Skyttä
58ae4585a7 Remove unused variable RELEASE. 2009-04-13 19:55:52 +03:00
David Paleino
a9994ac15f Remove eval() and sed quoting in _known_hosts() (Alioth: #311595)
Fixes execution (!!!) of hosts specified by {Global,User}KnownHosts
    in SSH config files.
2009-04-13 17:10:41 +02:00
Ville Skyttä
a17930f8dd Fix dir-only completion for make to include only dirs, not files. 2009-04-07 22:20:26 +03:00
Ville Skyttä
4475d36349 Declare $bash4, use it in quote_readline(). 2009-04-07 20:58:35 +03:00
David Paleino
9f05078e92 Permit .gz files concatenation (Debian: #514377) 2009-04-04 21:58:05 +02:00
Mike Kelly
1421e55aac Fix _filedir on bash 4.
We don't need to double-quote things for compgen w/ bash 4. Just putting
each file in double quotes is sufficient.

See: http://lists.gnu.org/archive/html/bug-bash/2009-03/msg00155.html
2009-04-02 11:16:46 -04:00
Ville Skyttä
e9456c8e53 Split mplayer and friends completions to contrib/mplayer. 2009-04-02 00:27:47 +03:00
Ville Skyttä
2abfb8c111 Add chkconfig --override and resetpriorities completions. 2009-04-01 22:44:01 +03:00
Ville Skyttä
15594d6c08 Fix local array initialization under bash 3.0.
In bash 3.0, "local foo=(bar)" does not appear to initialize foo to
an array containing "bar", but to the non-array value "(bar)".
2009-03-31 00:30:17 +03:00
Guillaume Rousse
0f2656669f Merge branch 'guillomovitch' 2009-03-30 22:06:55 +02:00
Guillaume Rousse
0924d059c6 Merge branch 'master' into guillomovitch 2009-03-30 22:02:55 +02:00
Guillaume Rousse
061ebd49d1 split screen completion into its own file 2009-03-30 21:59:28 +02:00
Ville Skyttä
aa2851d549 Split yum and yum-arch completion into contrib/yum. 2009-03-30 21:51:22 +03:00
Ville Skyttä
dc88329e8e Use "-profile help" to get mplayer and friends -profile completions. 2009-03-28 11:40:12 +02:00
Ville Skyttä
6e28f86ac9 Revert "Get mencoder profile completions from mencoder.conf, thanks to Droz Raphaël."
This reverts commit cd58fa033e2e441df74876a07e9a4e9dddb0cba3.
2009-03-28 11:37:27 +02:00
Ville Skyttä
cd58fa033e Get mencoder profile completions from mencoder.conf, thanks to Droz Raphaël. 2009-03-28 11:23:37 +02:00
David Paleino
74780cdea8 Added .zip to jar completions 2009-03-25 23:19:36 +01:00
Ville Skyttä
14c9f5b23c Add rpmbuild --target completion. 2009-03-23 23:01:25 +02:00
Ville Skyttä
b1844ddeb9 Remove obsolete --buildarch and --buildos rpm(build) completions. 2009-03-23 22:55:30 +02:00
Freddy Vulto
23ff82046f Improved vncviewer completion
- Split vncviewer completion in _tightvncviewer() and _xvn4viewer()
    - Vncviewer completion automatically selects right completion at
      run-time.  Default is _tightvncviewer().
    - Added _realcommand() global function
2009-03-16 21:57:12 +01:00
Mike Kelly
3217cff1ef _tar: Support .tar.xz files. 2009-03-16 05:49:06 -04:00
Santiago M. Mola
92572e3424 Add .ape to mplayer supported extensions (Alioth#311510). 2009-03-15 21:59:02 +02:00
Freddy Vulto
8c24385c02 Moved commented quote outside subshell
Moved comment-containing-quotes to outside subshell since commented
quotes cause error messages in bash <= 3.1.  See also:
http://www.mail-archive.com/bug-bash@gnu.org/msg01667.html
2009-03-01 16:59:38 +01:00
Ville Skyttä
818c612e51 Apply ps2pdf completion to ps2pdf{12,13,14,wr} too. 2009-02-26 23:30:31 +02:00