4 Commits

Author SHA1 Message Date
Ville Skyttä
f8d8444667 Use "declare -F" instead of "type" to check for function existence.
Avoids some stat() calls when it doesn't exist.
2011-04-24 18:55:04 +03:00
Ville Skyttä
4c9789605f Use _init_completion() in completions/c*. 2011-04-20 14:42:30 +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
Guillaume Rousse
cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00