14 Commits

Author SHA1 Message Date
Ville Skyttä
6185297fc9 *: Line continuation, whitespace, and compgen -W ... -- "$cur" quoting cleanups. 2013-02-17 23:49:30 +02:00
Ville Skyttä
609034db74 lvm: Add _lvm prefix to helper functions. 2012-11-13 23:54:14 +02:00
Ville Skyttä
e96613e32e lvm: Take option args into account when counting args (RedHat: #860510). 2012-11-13 23:49:44 +02:00
Ville Skyttä
b2d985c0bf lv{create,resize,extend}, vg{create,reduce,extend,split}: Fix variable leaks. 2012-11-06 22:50:38 +02:00
Igor Murzov
b2365b3d87 lvm: Fix typo in option name: s/continguous/contiguous/. 2012-11-03 23:19:53 +04:00
Ville Skyttä
8e63eafb83 lvm volumes: Complete on /dev/mapper/* (RedHat: #851787).
This is done only if user has typed it though.
2012-09-23 21:00:53 +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ä
eefc69d83b lvm: Use _parse_usage in several tools.
Also adjust test cases to not fail if --help doesn't succeed, at least
it doesn't for me if run as non-root.
2011-05-16 18:57:43 +03:00
Ville Skyttä
69ecdc49d5 Use _init_completion() in completions/l*. 2011-04-20 22:22:51 +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ä
94c51fc36e Coding style consistency tweaks. 2011-04-04 23:48:22 +03:00
Guillaume Rousse
cb7fc2f7c4 rename 'contrib' directory to 'completions' 2010-09-12 16:42:21 +02:00