1139 Commits

Author SHA1 Message Date
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
David Paleino
152c83ea51 * Fixed _dpkg_source completion (Closes: #503317)
* Remove unused UNAME local variable in _info() (Closes: #501843)
2009-01-30 10:20:56 +01:00
David Paleino
7e395833e4 debian/copyright updated
release number fixed (we're not in 2008 anymore, and a release should arrive soon :))
2009-01-29 21:34:57 +01:00
David Paleino
dd7f7589da Improved sed scripts, thanks to ColdWind 2009-01-29 21:25:01 +01:00
David Paleino
90b6776f4f Fix killall completion, remove trailing ":" on certain process
names
2009-01-29 21:19:37 +01:00
David Paleino
6401916294 Change sourcing order 2009-01-29 15:10:18 +01:00
David Paleino
2bdf69259c Add support for "compatibility mode" » $BASH_COMPLETION_COMPAT_DIR 2009-01-29 15:07:17 +01:00
Ville Skyttä
6a2ff139a0 Fix awk error in "modprobe -r /" completion, extract/use _installed_modules for rmmod and modprobe -r. 2009-01-25 23:40:44 +02:00
Ville Skyttä
134614341c Comment spelling fixes. 2009-01-25 23:39:09 +02:00
Ville Skyttä
58f9567a28 Remove duplicate cpio completion, thanks to Freddy Vulto (Closes: #512823) 2009-01-24 21:20:58 +02:00
Guillaume Rousse
19fea3d733 new helper function for kernel versions 2009-01-19 21:30:58 +01:00
Ville Skyttä
4a360233d2 Do not make vi and friends expand tabs with spaces. 2009-01-17 11:38:33 +02:00
David Paleino
b0646ff2d2 * Added _parse_help() to try to parse options listed in $command
--help
* Fixed gzip completion to use _parse_help(), since the available 
  options vary with distributions
2009-01-17 00:31:39 +01:00
David Paleino
146127e95a Allow for comments in known_hosts files (Closes: #511789) 2009-01-16 23:05:07 +01:00
David Paleino
8742e7d294 Fix dpkg completion bug: it listed only non-Essential packages
(Closes: #511790)
2009-01-16 21:22:26 +01:00
Ville Skyttä
a98cf17cce Add --rsyncable to gzip completion (not in upstream gzip (yet?), but commonly patched into various distros' packages). 2009-01-15 00:38:07 +02:00
Ville Skyttä
c353789983 Add/compact *Emacs, vi and friends indentation etc settings. 2009-01-14 22:17:14 +02:00
Ville Skyttä
f6b56b7ecb Add .mkv, .mp2 and .vdr to *xine completion (RHBZ: #444467). 2009-01-14 00:00:38 +02:00
Ville Skyttä
445b55c98a Add .mp2 and .vdr to mplayer completion (RHBZ: #444467). 2009-01-13 23:38:36 +02:00
Ville Skyttä
877ef5dc65 Revert executable flag (no idea how that ended up in it :P). 2009-01-13 21:29:01 +02:00
Ville Skyttä
d5aa0dfb88 Add lzma completion (Guillaume Rousse, myself). 2009-01-13 20:45:07 +02:00
Ville Skyttä
eb95aa30cd (Re)fix gzip and bzip2 options completion (Debian bug 351913 resurfaced in r934). 2009-01-12 21:16:51 +02:00
Ville Skyttä
984d8ed071 Improved getent completion (myself, Guillaume Rousse). 2009-01-12 01:08:01 +02:00