17 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ä
f48d6fb10d Use {x..y} brace expansion instead of `seq', loops, or long literal sequences. 2011-04-26 00:15:03 +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ä
e7494cf065 Add wodim driveropts={varirec,gigarec,tattoofile}= completions. 2010-10-23 13:07:21 +03:00
Ville Skyttä
267c4aad9c Add wodim msifile= completion. 2010-10-23 12:52:11 +03:00
Ville Skyttä
4bcd37d800 Add wodim minbuf= completion. 2010-10-23 12:52:11 +03:00
Ville Skyttä
8ccda052b3 Update wodim option lists. 2010-10-23 12:52:11 +03:00
Ville Skyttä
7f5cfc3099 Add wodim driver= completion. 2010-10-23 12:52:06 +03:00
Ville Skyttä
7d87ca0a6d Improve wodim foo=bar completions. 2010-10-23 12:44:45 +03:00
Ville Skyttä
c0cef5bd44 Remove -o filenames for wodim, rely on _filedir doing it for us. 2010-10-23 12:44:40 +03:00
Ville Skyttä
562b8b3497 Tweak line wrapping. 2010-10-23 12:44:40 +03:00
Ville Skyttä
47b9fbebf2 Add varirec= to wodim driveropts completions. 2010-10-23 12:44:29 +03:00
Guillaume Rousse
cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00