5 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ä
59e189e636 Remaining _init_completion() related changes missed in the first round. 2011-04-21 11:16:11 +03:00
Ville Skyttä
e3ca91b986 Use _init_completion() in completions/p*. 2011-04-20 23:13:29 +03:00
Ville Skyttä
ee43b22f9b Use += to append to arrays and strings.
It's easier on the eye and faster than foo=( "${foo[@]}" ... ).
2011-04-06 20:39:21 +03:00
Guillaume Rousse
cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00