aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarChristopher Bock <christopher@bocki.com>2025-03-12 13:18:58 +0100
committerLibravatarChristopher Bock <christopher@bocki.com>2025-03-13 10:20:48 +0100
commitd178d764c9cc19aef1a5cf012e3ca4c3b957879f (patch)
tree85ea572d4381ef618a53516cc3ecb27989de18e8
parent6a3ba151fc56b465e3a6bd3191f0056e0480207f (diff)
use vendor-completions for zsh completions
-rw-r--r--debian/patches/series1
-rw-r--r--debian/patches/zsh-completion.patch15
2 files changed, 16 insertions, 0 deletions
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 <christopher@bocki.com>
+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"]),