aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/zsh-completion.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/zsh-completion.patch')
-rw-r--r--debian/patches/zsh-completion.patch15
1 files changed, 15 insertions, 0 deletions
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"]),