3134 Commits

Author SHA1 Message Date
Igor Murzov
44fee9421e testsuite: Add more tests for valgrind. 2011-11-20 04:33:23 +03:00
Ville Skyttä
5dc833dbbc valgrind: Parse some generic option arguments from --help output. 2011-11-17 22:55:36 +02:00
Ville Skyttä
834379ef63 valgrind: New completion. 2011-11-17 18:00:41 +02:00
Igor Murzov
43e8e2b504 wine: Complete all files after an .exe (Alioth #313131) 2011-11-17 18:35:49 +03:00
Igor Murzov
82784121d8 upgradepkg: Support oldpackage%newpackage notation. 2011-11-17 04:02:35 +03:00
Igor Murzov
068a1a1b53 __get_cword_at_cursor_by_ref: Drop unnecessary quotes. 2011-11-17 00:11:46 +03:00
Igor Murzov
b3fcb55dcf __get_cword_at_cursor_by_ref: Add missing quotes.
Fixes  _get_comp_words_by_ref() and sftp tests (Alioth #313102).
2011-11-16 23:46:29 +03:00
Igor Murzov
1d45cfe760 __get_cword_at_cursor_by_ref: Drop unused cur2 variable. 2011-11-16 23:37:09 +03:00
Igor Murzov
9ab064fb17 pidof: Don't check OS type (Alioth #311403)
Also drop non-existent option arguments completion.

Reviewed-by: Ville Skyttä <ville.skytta@iki.fi>
2011-11-16 01:56:07 +03:00
Igor Murzov
6843989baf _command_offset: Do not assume that first word is unique in completion line. 2011-11-15 03:37:01 +03:00
Ville Skyttä
87d31eb85d _command_offset: Simplify dynamic loading of completions we don't have yet. 2011-11-14 22:12:15 +02:00
Ville Skyttä
b9069afa55 rpm: Add --delsign completion, don't suggest --resign (identical to --addsign). 2011-11-12 23:15:13 +02:00
Ville Skyttä
c73cf422bd make -j: Complete up to number of CPUs * 2. 2011-11-11 21:01:06 +02:00
Igor Murzov
6f58a69991 removepkg: Make it possible to complete filenames.
Reported-by: disturbed1
Tested-by: Sergey V <sftp.mtuci@gmail.com>
2011-11-11 02:46:23 +03:00
David Paleino
d0c5761e5b Commit make-changelog release helper 2011-11-10 01:18:23 +01:00
Ville Skyttä
3b8ef29ef3 Cleanups: Use [[ instead of [. 2011-11-09 23:28:11 +02:00
Ville Skyttä
1d48f79b9c Cleanups: use usual globs instead of substring matches or substitutions. 2011-11-09 22:46:21 +02:00
Ville Skyttä
d54db3507d make: Add -j/--jobs completion. 2011-11-09 18:36:08 +02:00
Ville Skyttä
0202ac4e2a cppcheck -j: Use _ncpus. 2011-11-09 18:35:37 +02:00
Ville Skyttä
22dff29dc4 _npus: Split out of lrzip for general use. 2011-11-09 18:35:13 +02:00
Ville Skyttä
3f851722d7 _services: Split xinetd service completion into _xinetd_services.
Only Mandriva's service operates on xinetd services, chkconfig does it
everywhere.
2011-11-09 18:14:23 +02:00
Ville Skyttä
e4ff8d98a3 chkconfig: Wrap long lines. 2011-11-09 18:06:59 +02:00
Ville Skyttä
bb36bfd019 bashcomp_DATA: service was merged to bash_completion. 2011-11-09 18:00:42 +02:00
Igor Murzov
4d76b721f4 testsuite: Set correct COMP_POINT value in test. 2011-11-09 18:14:59 +03:00
Igor Murzov
e4cdcca08e Merge completions/service into the bash_completion script.
If completion for a basename foo is already installed, the default
completion loader no longer fires for /etc/init.d/foo -- the basename
completion is invoked directly instead. This means that we need to load
completions for /etc/init.d and friends eagerly at bash_completion load :(
2011-11-09 05:21:53 +03:00
Igor Murzov
fbbd476df0 Add and use _sysvdirs() function that sets correct SysV init directory.
This function allows distros to fine tune their init directory location,
as simple checking for directories presence is not always sufficient.
2011-11-09 05:09:37 +03:00
Igor Murzov
588facb6b6 testsuite: Add one more test for _get_comp_words_by_ref()
This test exposes bug in __get_cword_at_cursor_by_ref().
2011-11-09 04:54:52 +03:00
Igor Murzov
d48d9ebd2f testsuite: Add some make test cases. 2011-11-09 04:54:31 +03:00
Igor Murzov
fff412b2f2 Revert "Another stab at making service completion work on Slackware."
This reverts commit 1a01e54d856fe2d9496cfaf6d9df8b75d87a9b52.
See http://thread.gmane.org/gmane.comp.shells.bash.completion.scm/2278
2011-11-09 04:49:37 +03:00
David Paleino
cb0526cb01 Fix bash_completion paths in README (Debian: #647941) 2011-11-08 09:19:01 +01:00
Ville Skyttä
286f7ec44e cppcheck: Offer header filename completions too. 2011-11-07 20:11:19 +02:00
Ville Skyttä
4e0c3ea683 Include doc/ in dist tarball. 2011-11-07 00:07:00 +02:00
Ville Skyttä
88b897e224 _cd: Don't try to complete variables (and fail), _init_completion already does. 2011-11-06 23:48:59 +02:00
David Paleino
bea33f7ac9 Really fix it, double quotes 2011-11-06 21:04:48 +01:00
David Paleino
665ceebf3b Oops, fix completion 2011-11-06 20:28:34 +01:00
Ville Skyttä
1a01e54d85 Another stab at making service completion work on Slackware. 2011-11-06 14:22:39 +02:00
Ville Skyttä
a9873c8727 Revert "service, _services: Make these work on Slackware GNU/Linux."
This reverts commit 9717124ab7bad30b6d8ba02ef91850c6bb74dd63.
See http://thread.gmane.org/gmane.comp.shells.bash.completion.scm/2278
2011-11-06 14:00:04 +02:00
Igor Murzov
9717124ab7 service, _services: Make these work on Slackware GNU/Linux. 2011-11-05 20:44:17 +03:00
Igor Murzov
bc2d3c9a34 _known_hosts_real: Replace "${HOME}" with "~" to make code more compact. 2011-11-05 19:51:07 +03:00
Igor Murzov
74d80d17f9 _known_hosts_real: Add some quotes (Alioth #313158)
Should fix errors if $HOME contains spaces.
2011-11-05 19:41:34 +03:00
David Paleino
2bb6addc86 Correctly list purgeable packages for dpkg --listfiles and dpkg --purge (Debian: #647684) 2011-11-05 11:38:25 +01:00
Ville Skyttä
ec3a06ac23 desktop-file-validate: New completion. 2011-11-05 12:15:30 +02:00
Ville Skyttä
370a550baf _mac_addresses: Grab addresses from FreeBSD's ifconfig -a output too. 2011-11-05 12:09:40 +02:00
Ville Skyttä
bfa8425a4a _known_hosts_real: Don't offer hostnames containing wildcards. 2011-11-05 00:59:13 +02:00
Ville Skyttä
333a5a50be _known_hosts_real: Handle more than two hostnames per known hosts line (Debian: #647352). 2011-11-05 00:53:39 +02:00
Ville Skyttä
b54d3f022f _known_hosts_real: Discard @markers at beginning of line. 2011-11-05 00:38:37 +02:00
Ville Skyttä
55ec6a079b plague-client: New completion. 2011-11-04 22:35:45 +02:00
Ville Skyttä
7db1c8e264 Create empty compatdir on "make install". 2011-11-04 22:13:30 +02:00
Ville Skyttä
6936a56c60 install-data-hook: Use $(compatdir). 2011-11-04 22:08:35 +02:00
Ville Skyttä
bbf5257209 install-data-hook: Avoid problematic mode bits for bash_completion from mktemp. 2011-11-04 22:05:46 +02:00