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ä
6e08dc5504
testsuite/assert_source_completions: Test for command availability too.
...
We now install (_minimal) completions for just about everything, but
that doesn't mean we can sanely test everything if the command is not
available.
2011-10-26 21:24:56 +03:00
Ville Skyttä
099b47c66d
kill, killall: Add some option and argument completions, simplify _signals.
2011-10-26 21:01:18 +03:00
Ville Skyttä
79ac9b5921
_command_offset: Fall back to _minimal instead of _filedir for oddball cases.
2011-10-26 20:46:00 +03:00
Ville Skyttä
22f88858ee
_command_offset: Load undefined completions on demand.
2011-10-26 20:44:22 +03:00
Ville Skyttä
802a72fd8f
_command_offset: Drop unused variables, define some others only when needed.
2011-10-26 19:56:22 +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ä
889e1ae13e
testsuite: Ignore BASH_REMATCH in env unmodified check.
...
_init_completion uses =~ now so it's going to change just about everywhere.
2011-10-25 23:50:46 +03:00
Ville Skyttä
b377dc5de8
Merge branch 'dynamic-loading'
2011-10-25 20:18:42 +03:00
Ville Skyttä
3b029892f6
_init_completion: Improve variable name completion.
...
Complete only things that look like variable names to make things like
$HOME/<TAB> and $(<TAB> pass through, and fix completion of variables
enclosed in braces.
2011-10-25 20:15:13 +03:00
Igor Murzov
1bdf31c894
Don't use full path in the _completion_loader() function.
2011-10-24 20:40:45 +03:00
Ville Skyttä
8fe4a73f9a
_completion_loader: Use _minimal instead of _longopt as fallback.
...
_longopt may end up invoking the completed command with --help which
may not be safe for all arbitrary commands out there.
2011-10-23 11:32:13 +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ä
f6cd9344fb
_completion_loader: Use _longopt as the fallback.
2011-10-23 11:09:48 +03:00
Ville Skyttä
ff8e52c960
_init_completion: Complete variable names.
2011-10-23 11:02:46 +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ä
99c4f7f25f
README: Dynamic loading related updates.
2011-10-15 18:11:30 +03:00
Ville Skyttä
63747bf6c3
Remove obsolete TODO.
2011-10-15 18:02:20 +03:00
Ville Skyttä
2f85abf462
install-completions: Remove, no longer needed.
2011-10-15 10:27:15 +03:00
Ville Skyttä
e179afe3c3
Fall back to generic completion for commands we don't have anything for.
2011-10-15 10:20:46 +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ä
daa4aba4c8
Fix loading completions when bash_completion was sourced without a path.
2011-10-13 21:08:43 +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
Igor Murzov
e8d0b1ffdb
file: Add few missing --exclude arguments completions.
...
See lines 112-121 of
https://github.com/glensc/file/blob/master/src/file.c
2011-10-12 02:54:14 +04:00
Igor Murzov
c10a2723e7
fbi, fbgs: New completions.
2011-10-12 02:54:13 +04:00
Ville Skyttä
20c05b43b6
Load completions in separate files dynamically, get rid of have().
2011-10-12 00:19:50 +03:00
Ville Skyttä
a6c9c614d4
dmesg: New completion.
2011-10-11 21:10:45 +03:00
Ville Skyttä
049b60ec61
watch: New completion (Linux only for now).
2011-10-11 21:10:08 +03:00
Igor Murzov
ec5762cba9
cppcheck: Add new option arguments completions (added in cppcheck-1.51).
2011-10-09 22:21:53 +04:00
Ville Skyttä
d54fcf100e
ionice: New completion.
2011-10-03 23:57:34 +03:00
Ville Skyttä
c3d29e2e0d
file: New completion.
2011-10-03 23:39:20 +03:00
Igor Murzov
2a7db4d988
xrandr: Add more option completions.
2011-09-30 22:21:47 +04:00
Igor Murzov
5051b1787a
_command_offset: Restore compopts used by called command.
...
This fixes completions that rely on their compopts, most notably mount(8).
Fixes bash-completion bug #313183 .
2011-09-30 22:21:47 +04:00
Ville Skyttä
b9a5f508e2
chrpath: New completion.
2011-09-29 23:11:31 +03:00