Bundle/Install completions with the correct appname

Fixes #66154
This commit is contained in:
Segev Finer
2019-01-08 00:40:15 +02:00
parent 069ad194ca
commit a0a5c9cbee
5 changed files with 29 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
_code()
_@@APPNAME@@()
{
local cur prev words cword split
_init_completion -s || return
@@ -58,4 +58,4 @@ _code()
_filedir
} &&
complete -F _code code
complete -F _@@APPNAME@@ @@APPNAME@@