19 Commits

Author SHA1 Message Date
Ville Skyttä
e3edf7ac42 gcc, lintian, make, pkgadd, slackpkg: grep -> "command grep" (Debian: #734095) 2014-01-06 17:45:48 +02:00
Igor Murzov
df8782d769 f77, f95: Use the same completion as for g77, g95 if they are links to gfortran 2013-09-09 23:35:17 +04:00
Ville Skyttä
ffabc6f282 cc, c++: Check path to binary when finding out if it's gcc (Alioth: #314417). 2013-09-07 10:05:03 +03:00
Ville Skyttä
d6600e6a10 cc, c++: Install minimal completion for non-gcc ones (Alioth: #314417). 2013-09-07 09:56:38 +03:00
Igor Murzov
e6bef775a5 gcc: Don't use \t in sed as it's not POSIX compliant. 2011-12-21 01:03:21 +04:00
Igor Murzov
f17f31057f gcc: Remove unnecessary calls to tr and sort. 2011-12-20 19:56:36 +04:00
Igor Murzov
3be0b26581 gcc: Don't allow "[]<>" in options list. 2011-12-20 19:56:36 +04:00
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