summaryrefslogtreecommitdiff
path: root/completions/ldapvi
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2011-04-20 22:22:51 +0300
committerVille Skyttä <ville.skytta@iki.fi>2011-04-20 22:22:51 +0300
commit69ecdc49d53e68842efb68c0621d9566f07d0a68 (patch)
tree07147aeaee8eff21d42b6a19d697be2b450c8e14 /completions/ldapvi
parent3842fc5472b994b78af9423e40473cd897de6231 (diff)
downloadbash-completion-69ecdc49d53e68842efb68c0621d9566f07d0a68.tar.gz
Use _init_completion() in completions/l*.
Diffstat (limited to 'completions/ldapvi')
-rw-r--r--completions/ldapvi6
1 files changed, 2 insertions, 4 deletions
diff --git a/completions/ldapvi b/completions/ldapvi
index f0a17abb..38701096 100644
--- a/completions/ldapvi
+++ b/completions/ldapvi
@@ -4,10 +4,8 @@ have ldapvi || return
_ldapvi()
{
- local cur prev
-
- COMPREPLY=()
- _get_comp_words_by_ref cur prev
+ local cur prev words cword
+ _init_completion || return
case $prev in
-h|--host)