diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2011-04-20 22:22:51 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2011-04-20 22:22:51 +0300 |
commit | 69ecdc49d53e68842efb68c0621d9566f07d0a68 (patch) | |
tree | 07147aeaee8eff21d42b6a19d697be2b450c8e14 /completions/lilo | |
parent | 3842fc5472b994b78af9423e40473cd897de6231 (diff) | |
download | bash-completion-69ecdc49d53e68842efb68c0621d9566f07d0a68.tar.gz |
Use _init_completion() in completions/l*.
Diffstat (limited to 'completions/lilo')
-rw-r--r-- | completions/lilo | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/completions/lilo b/completions/lilo index ec882968..ad8b2da5 100644 --- a/completions/lilo +++ b/completions/lilo @@ -10,10 +10,8 @@ _lilo_labels() _lilo() { - local cur prev - - COMPREPLY=() - _get_comp_words_by_ref cur prev + local cur prev words cword + _init_completion || return case $prev in -C|-i|-m|-s|-S) |