1222 Commits

Author SHA1 Message Date
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
Ville Skyttä
c69e71b498 ps2pdf can run on .pdf files as well. (Closes: #516614, LP: #316943) 2009-02-26 23:30:30 +02:00
Ville Skyttä
7bc9c43b1e Make okular complete on same files as evince, thanks to Mary Ellen Foster (RHBZ: #486998). 2009-02-23 19:21:19 +02:00
David Paleino
d2ebf2b128 Make _alias() use _get_cword 2009-02-21 23:13:50 +01:00
David Paleino
b39ff7e711 Revert "Removed BASH_COMPLETION_COMPAT_DIR"
This reverts commit 34b82bbbe8c70167837153d7ab376b0e1dc6c561.
2009-02-20 22:58:01 +01:00
Freddy Vulto
34b82bbbe8 Removed BASH_COMPLETION_COMPAT_DIR 2009-02-19 00:05:26 +01:00
David Paleino
7e586c16e1 Prepare for future development 2009-02-17 09:23:24 +01:00
David Paleino
5662452756 Fixed version number to be 1.0 2009-02-17 09:17:58 +01:00
Ville Skyttä
d07e282122 Enable pkill completion if the command is available, not just on Linux and FreeBSD. 2009-02-15 19:12:05 +02:00
Ville Skyttä
9960fbfdcf Enable pgrep completion if pgrep is available, not just on Linux/FreeBSD. 2009-02-15 19:04:51 +02:00
Ville Skyttä
db00d73296 Use improved process name completion in pgrep in addition to killall. 2009-02-15 18:53:09 +02:00
Ville Skyttä
14c641aea5 Note why "ps axo comm" is not used in _pnames on Linux. 2009-02-15 18:51:09 +02:00
Ville Skyttä
c492f00705 Extract process name completion from _killall to _pnames, make it work for others than Linux and FreeBSD. 2009-02-15 18:47:34 +02:00
Ville Skyttä
645aac4790 Fix killall completion for commands with relative paths (RHBZ: #484578), add a FIXME. 2009-02-15 11:45:07 +02:00
Guillaume Rousse
530e91f810 add cdrecord and mkisoft completion functions to wodim and genisoimage 2009-02-12 22:31:27 +01:00
Guillaume Rousse
ea0d17b685 don't append = automatically after alias completion, for sake of minimal completion 2009-02-12 22:24:35 +01:00
Guillaume Rousse
6c27cd16dd - split _command function in two different functions:
_command now only computes where wrapped command start
  _command_offset actually takes care of running wrapped command
  completion
- drop _remove_comp_word function, as context rewriting is now
  performed more efficiently in _command_offset
- drop strace minimal completion, there is a better dedicated completion
  waiting review
2009-02-12 22:12:20 +01:00
Guillaume Rousse
935295c280 new helper functions:
- _usb_ids completes on USB ids
- _pci_ids completes on PCI ids
2009-02-10 23:50:04 +01:00