16 Commits

Author SHA1 Message Date
Ville Skyttä
a6ff57986f Trim trailing whitespace. 2012-07-22 19:35:03 +03:00
Ville Skyttä
3b8ef29ef3 Cleanups: Use [[ instead of [. 2011-11-09 23:28:11 +02:00
Ville Skyttä
0d10b94e7a Move Emacs indentation settings from every file to .dir-locals.el. 2011-11-01 22:14:45 +02:00
Ville Skyttä
20c05b43b6 Load completions in separate files dynamically, get rid of have(). 2011-10-12 00:19:50 +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
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
d21e05504a drop -o filenames, as suggested by Ville 2011-02-26 16:55:05 +01:00
Guillaume Rousse
a29ed87cd5 use simple quotes for constant strings 2011-02-23 21:42:08 +01:00
Guillaume Rousse
8916625769 rename special and subspecial variables for consistency with other similar completions, and avoid leaking 2011-02-23 21:36:10 +01:00
Guillaume Rousse
93ade30ce6 use known hosts completion with --server option 2011-02-23 21:31:37 +01:00
Guillaume Rousse
b7ef18dded no need to use a variable for a list used only once 2011-02-23 21:27:27 +01:00
Guillaume Rousse
d9c605b020 indentation fixes 2011-02-23 21:24:53 +01:00
Guillaume Rousse
4946872a85 wrap long lines 2011-02-23 21:22:18 +01:00
Guillaume Rousse
b0e7111397 use for subshell, instead of backquotes 2011-02-23 21:18:18 +01:00
Guillaume Rousse
dac9622e90 add puppet completion 2011-02-23 21:14:35 +01:00