12 Commits

Author SHA1 Message Date
Ville Skyttä
ae34153c85 cc, c++: Install gcc completion if compiler looks like GCC (Alioth: #311408). 2011-12-20 00:36:39 +02:00
Ville Skyttä
0d10b94e7a Move Emacs indentation settings from every file to .dir-locals.el. 2011-11-01 22:14:45 +02: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ä
449c71fa74 Get rid of remaining $UNAME and $USERLAND uses.
Use $OSTYPE and _userland() instead.
2011-10-13 21:37:34 +03:00
Ville Skyttä
20c05b43b6 Load completions in separate files dynamically, get rid of have(). 2011-10-12 00:19:50 +03:00
Ville Skyttä
10f6eb8ee2 Use _init_completion() in completions/g*. 2011-04-20 17:02:27 +03:00
Ville Skyttä
9af6f3504e Abort completion file loading earlier if required commands are not available.
Cuts ~10% from bash completion load time on two different systems I
just tested.
2011-04-05 00:37:55 +03:00
Ville Skyttä
a7c3da6322 Take advantage of short-circuit eval of [[ ]]. 2011-04-04 23:57:07 +03:00
Ville Skyttä
0f450219b6 Remove most "-o filenames" options to "complete".
Turn it on dynamically when needed instead; see doc/styleguide.txt for
a longer explanation.  This fixes many non-filename completions which
had been previously more or less broken due to unwanted
escape-as-filenames behavior.
2010-11-01 19:29:45 +02:00
Guillaume Rousse
cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00