install bash completion into share/bash-completion/completions

This commit is contained in:
Mike Fährmann
2019-11-07 23:23:48 +01:00
parent b0197098e6
commit 4f39d2ae64
5 changed files with 14 additions and 15 deletions

View File

@@ -47,7 +47,7 @@ for action in option.build_parser()._actions:
if opt.startswith("--"):
opts.append(opt)
PATH = util.path("gallery-dl.bash_completion")
PATH = util.path("build/completion/gallery-dl")
with open(PATH, "w", encoding="utf-8") as file:
file.write(TEMPLATE % {
"opts" : " ".join(opts),