From d178d764c9cc19aef1a5cf012e3ca4c3b957879f Mon Sep 17 00:00:00 2001 From: Christopher Bock Date: Wed, 12 Mar 2025 13:18:58 +0100 Subject: use vendor-completions for zsh completions --- debian/patches/series | 1 + debian/patches/zsh-completion.patch | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 debian/patches/series create mode 100644 debian/patches/zsh-completion.patch diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..6f9cf84 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +zsh-completion.patch diff --git a/debian/patches/zsh-completion.patch b/debian/patches/zsh-completion.patch new file mode 100644 index 0000000..6527305 --- /dev/null +++ b/debian/patches/zsh-completion.patch @@ -0,0 +1,15 @@ +Description: move zsh completion to correct path +Author: Christopher Bock +Forwarded: not-needed + +--- a/setup.py ++++ b/setup.py +@@ -34,7 +34,7 @@ + (path, [f for f in files if check_file(f)]) + for (path, files) in [ + ("share/bash-completion/completions", ["data/completion/gallery-dl"]), +- ("share/zsh/site-functions" , ["data/completion/_gallery-dl"]), ++ ("share/zsh/vendor-completions" , ["data/completion/_gallery-dl"]), + ("share/fish/vendor_completions.d" , ["data/completion/gallery-dl.fish"]), + ("share/man/man1" , ["data/man/gallery-dl.1"]), + ("share/man/man5" , ["data/man/gallery-dl.conf.5"]), -- cgit v1.2.3