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
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
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
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
Ville Skyttä
286f7ec44e
cppcheck: Offer header filename completions too.
2011-11-07 20:11:19 +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
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ä
55ec6a079b
plague-client: New completion.
2011-11-04 22:35:45 +02:00
Ville Skyttä
717cfed94f
cowsay: Avoid error when completing -f when cowsay is not installed.
2011-11-04 21:17:58 +02:00
Ville Skyttä
c079969fd3
Fix symlinking in "make distcheck".
2011-11-01 23:17:40 +02:00
Ville Skyttä
66fc912020
a2x: Split from asciidoc into separate file.
2011-11-01 22:25:41 +02:00
Ville Skyttä
52bdba591a
Set up symlinks for dpkg-query.
2011-11-01 22:17:27 +02:00
Ville Skyttä
0d10b94e7a
Move Emacs indentation settings from every file to .dir-locals.el.
2011-11-01 22:14:45 +02:00
David Paleino
15211e74fe
Add 'versions' command to aptitude (Debian: #604393 )
2011-11-01 20:32:45 +01:00
David Paleino
c0ea434660
Also complete on dpkg-query (Debian: #642526 )
2011-11-01 20:23:53 +01:00
Ville Skyttä
ce128e7efe
xmllint, xmlwf: Complete on *.tld (tag library descriptor).
2011-11-01 19:19:43 +02:00
Ville Skyttä
8890abfdfb
unzip, jar: Complete on *.sar (JBoss service archive).
2011-11-01 19:18:54 +02:00
Ville Skyttä
2a88af018e
cppcheck: Wrap long line.
2011-10-30 11:09:13 +02:00
Ville Skyttä
c07cc2ba43
cppcheck: -D can be followed by space, don't -o nospace it.
2011-10-30 11:07:38 +02:00
Ville Skyttä
c3f6eda088
cppcheck: Don't stop completing after -DFOO.
2011-10-30 11:06:13 +02:00
Ville Skyttä
099b47c66d
kill, killall: Add some option and argument completions, simplify _signals.
2011-10-26 21:01:18 +03:00
Ville Skyttä
5811d47f0e
apt-build, apt-get, aptitude: Load _comp_dpkg_installed_packages on demand.
2011-10-26 19:29:33 +03:00
Ville Skyttä
b377dc5de8
Merge branch 'dynamic-loading'
2011-10-25 20:18:42 +03:00
Ville Skyttä
c922626d4b
cpan2dist: Don't hang if no package list files exist.
2011-10-23 11:13:50 +03:00
Ville Skyttä
fa5dbb6c8e
mailman: Split completions to separate files from add_members.
2011-10-22 12:50:30 +03:00
Ville Skyttä
e850ee015e
add_members, bk, gcc, mtx, munin-run, munindoc, mutt, p4, portinstall, postmap, ri, ypmatch: Avoid stderr spewage when needed commands/dirs are not available.
2011-10-22 11:48:23 +03:00
Ville Skyttä
5afc526850
Make _userland easier to use.
2011-10-16 10:56:44 +03:00
Ville Skyttä
4e5a67cfaf
ant, gcc, killall: Make sure completion file loading returns zero.
2011-10-16 10:39:02 +03:00
Ville Skyttä
efad9540e5
Do rest of splits, add symlinking for files defining multiple completions.
2011-10-15 10:18:43 +03:00
Ville Skyttä
449c71fa74
Get rid of remaining $UNAME and $USERLAND uses.
...
Use $OSTYPE and _userland() instead.
2011-10-13 21:37:34 +03:00
Ville Skyttä
5baebf81d3
Add _xfunc for loading and calling functions on demand, use it in apt-get, cvsps, rsync, and sshfs.
2011-10-13 21:15:05 +03:00
Ville Skyttä
86ca9ee598
Replace $UNAME with $OSTYPE in trivial cases.
...
$OSTYPE is automatically available at runtime (for dynamic loading).
2011-10-12 23:07:21 +03:00
Ville Skyttä
156656c16d
Split/rename many completions into per-command files.
2011-10-12 23:01:10 +03:00
Ville Skyttä
d3d6476f6c
Get rid of have() in fbi.
2011-10-12 19:33:42 +03:00
Ville Skyttä
a2ba9da54c
Merge remote-tracking branch 'origin/master' into dynamic-loading
2011-10-12 19:32:34 +03:00