Rename _beet_cmds to _beet
This commit is contained in:
parent
2f2d5c51da
commit
343c0107b1
|
@ -107,12 +107,12 @@ _regex_words subcmds "subcommands" "$fieldscmd" "$importcmd" "$listcmd" "$update
|
||||||
"$versioncmd" "$modifycmd" "$movecmd" "$writecmd" "$configcmd" "$migratecmd" "$helpcmd"
|
"$versioncmd" "$modifycmd" "$movecmd" "$writecmd" "$configcmd" "$migratecmd" "$helpcmd"
|
||||||
subcmds=("$reply[@]")
|
subcmds=("$reply[@]")
|
||||||
# Create main completion function
|
# Create main completion function
|
||||||
_regex_arguments _beet_cmds "$matchany" \( "${globalopts[@]}" \# \) "${subcmds[@]}"
|
_regex_arguments _beet "$matchany" \( "${globalopts[@]}" \# \) "${subcmds[@]}"
|
||||||
# Set tag-order - complete options separately from arguments
|
# Set tag-order - complete options separately from arguments
|
||||||
zstyle ":completion:${curcontext}:" tag-order '! options'
|
zstyle ":completion:${curcontext}:" tag-order '! options'
|
||||||
|
|
||||||
# Execute the completion function
|
# Execute the completion function
|
||||||
_beet_cmds "$@"
|
_beet "$@"
|
||||||
|
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
# mode:shell-script
|
# mode:shell-script
|
||||||
|
|
Loading…
Reference in New Issue