6 Commits

Author SHA1 Message Date
Ville Skyttä
a54857cd05 _init_completion: Add -s for splitting long options, use it in completions. 2011-05-02 00:04:26 +03:00
Ville Skyttä
e2c57c5966 Convert many completions to use _parse_help() instead of hardcoded option lists. 2011-04-28 21:21:31 +03:00
Ville Skyttä
6e809d032c Remove = from COMP_WORDBREAKS when using _split_longopt().
Without this, it does not do anything useful in bash >= 4.0.
2011-04-25 00:09:50 +03:00
Ville Skyttä
e3ca91b986 Use _init_completion() in completions/p*. 2011-04-20 23:13:29 +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