Commit ac73f21f authored by Christian Engwer's avatar Christian Engwer

rename dune.complete to dunecontrol

parent bc787c89
......@@ -10,7 +10,7 @@ _dunecontrol_complete ()
if test "x$DUNE_MODULES" != x; then
MODULES=$DUNE_MODULES
fi
# get cimpletion information
local cur prev words cword split
_init_completion -s || return
......@@ -62,7 +62,7 @@ _dunecontrol_complete ()
# if we already have a command, we either pass an options to the command,
# or we add a colon for the next command
if test x$have_command = x1; then
if test x$have_command = x1; then
COMPREPLY=( $(compgen -W " -- : " -- $cur ) )
return 0;
fi
......@@ -80,12 +80,4 @@ _dunecontrol_complete ()
# don't append space to options --foo=...
[[ $COMPREPLY == *= ]] && compopt -o nospace
}
_dune_complete_init () {
# complete -F _duneproject_complete duneproject
complete -F _dunecontrol_complete dunecontrol
}
_dune_complete_init
} && complete -F _dunecontrol_complete dunecontrol
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment