3052 Commits

Author SHA1 Message Date
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
Ville Skyttä
e1a3492261 prelink: New completion. 2011-09-29 22:57:59 +03:00
Ville Skyttä
2014d3b45d arping: New completion. 2011-09-28 19:04:55 +03:00
Ville Skyttä
89b7923cb8 ping, tracepath: Split to iputils, add option completions. 2011-09-28 18:59:15 +03:00
Ville Skyttä
9d146b9ba5 _known_hosts: Signal end of options to _known_hosts_real.
Fixes for example "ping --<TAB>":
error: _known_hosts_real: missing mandatory argument CWORD
2011-09-28 08:34:54 +03:00
Igor Murzov
e81223ac46 xgamma: New completion 2011-09-26 02:59:15 +04:00
Igor Murzov
0c06290764 cppcheck: Complete --platform= option arguments
See: b5d22fda0d
2011-09-26 02:59:15 +04:00
Igor Murzov
fd57faa534 cppcheck: -i also accepts file names. 2011-09-26 02:59:14 +04:00
Igor Murzov
c7b9d08d17 feh: New completion.
NB: feh should be compiled with `make help=1`. Otherwise `feh --help`
will not print help message, and option completion will not work.
2011-09-26 02:59:14 +04:00
Igor Murzov
a1b8148d23 cppcheck: Complete --std= option arguments
See: afed93d7d6
2011-09-26 02:59:13 +04:00
Igor Murzov
e3345a27b6 cppcheck: Update list of --enable= option arguments completions
See: d23c58d387
2011-09-26 02:59:12 +04:00
Ville Skyttä
8ec55193de ant: Don't use complete-ant-cmd.pl unless it's in default $PATH. 2011-09-21 21:23:20 +03:00
Ville Skyttä
8535fdc9bf lrzip: Add -? and -p argument (non-)completions. 2011-09-21 20:29:41 +03:00
Ville Skyttä
2f90dc7ecf Make _filedir's "fallback to everything" behavior optional, and off by default.
Configuration variable: COMP_FILEDIR_FALLBACK
http://thread.gmane.org/gmane.comp.shells.bash.completion.devel/3357
2011-09-19 19:42:52 +03:00
Ville Skyttä
bae27caab0 rpmbuild: Bring back --target completion lost in commit 914da74. 2011-09-03 23:28:39 +03:00
Ville Skyttä
8cb5d6560e Document ~/.bash_completion and $XDG_CONFIG_HOME/bash_completion. 2011-09-03 23:25:26 +03:00
Ville Skyttä
914da74d2c rpm: "Export" compatible build arch completion as _rpm_buildarchs for reuse. 2011-09-03 23:13:27 +03:00
Ville Skyttä
bae99345fd idn: New completion. 2011-08-23 20:26:06 +03:00
Ville Skyttä
bff8677599 gprof: New non-generic completion.
Neither _longopt, _parse_help, or _parse_usage do a very good job at
all parsing gprof's --help output.
2011-08-20 11:19:42 +03:00
Ville Skyttä
93f786c6fd ipsec: Cosmetic tweaks. 2011-08-20 09:49:46 +03:00
Tobias Brunner
e4f77de0b7 ipsec: Complete connection names for 'up', 'down' and other commands. 2011-08-20 09:48:16 +03:00
Tobias Brunner
d271b50f22 ipsec: Add strongSwan specific completion with fallback.
If the ipsec command is not provided by strongSwan, completion falls
back to the implementation originally created for FreeS/WAN.
2011-08-20 09:47:36 +03:00
Tobias Brunner
d32980f4bb ipsec: Drop uname check, simply check for 'ipsec'. 2011-08-20 09:43:16 +03:00
Ville Skyttä
05f2114735 Documentation tweaks. 2011-08-16 11:52:52 +03:00
Ville Skyttä
c46c916077 asciidoc, a2x: New completions. 2011-08-16 11:08:54 +03:00
Ville Skyttä
1de06f5de6 _ImageMagick: Drop unnecessary tr invocations. 2011-08-16 00:27:23 +03:00