10 Commits

Author SHA1 Message Date
Ville Skyttä
48ffb0ac6d No need to test for COMPREPLY count when toggling nospace.
It only takes effect if there's only one completion anyway.
2011-04-27 18:37:15 +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ä
448106b098 nospace usage cleanups. 2011-04-21 12:53:32 +03:00
Ville Skyttä
8048917968 Use _init_completion() in completions/[q-z]*. 2011-04-21 11:15:01 +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
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ä
344076f92c Use numeric comparison operators when comparing numerically. 2011-02-10 23:55:16 +02:00
Ville Skyttä
9e87f134e4 Comment spelling fix. 2010-10-23 12:44:40 +03:00
Ville Skyttä
267fb3205d Drop unused cword. 2010-10-05 23:55:30 +03:00
Ville Skyttä
77b78b3723 Add sysbench completion. 2010-10-05 23:40:44 +03:00