1061 Commits

Author SHA1 Message Date
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
Guillaume Rousse
9e08218fb9 make perl completion a bit more consistant with other, by first dealing
with options, then with main arguments
2009-02-10 23:39:10 +01:00
Ville Skyttä
47d0c5be2c Handle parenthesis, <defunct> in killall completion. 2009-02-11 00:11:09 +02:00
Ville Skyttä
06932d52c9 Clean up killall sed scripts. 2009-02-11 00:07:08 +02:00
Ville Skyttä
bc0367b04b Fix -sourcepath handling in javadoc packages completion. 2009-02-07 00:05:12 +02:00
Ville Skyttä
0145cd4b77 Expand ~foo to dir name more eagerly to avoid quoting issues. 2009-02-06 23:57:05 +02:00
Ville Skyttä
8bb9539219 Revert r1170, see comments in _expand for details. 2009-02-06 23:26:34 +02:00
Freddy Vulto
d138942196 Prevent completion dir from being sourced twice if BASH_COMPLETION_DIR and BASH_COMPLETION_COMPAT_DIR are equal (Alioth#311433) 2009-02-04 00:05:23 +01:00
Guillaume Rousse
1eadb1385d Add .xvid and .XVID to player completion 2009-02-03 20:38:27 +01:00
Guillaume Rousse
80f629c29c Make bibtex complete on .aux files 2009-02-03 20:32:07 +01:00
Guillaume Rousse
d73528881d add --suggests and --enhances options to rpm -q completion 2009-02-02 22:24:38 +01:00
Freddy Vulto
d5a72a09bf - Restored _display()' completion for display' by removing
completion-by-extension for `display' (#311429)
- Removed duplicate completion option `-borderwidth' for `display'
2009-02-01 23:05:33 +01:00