about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authortriallax <triallax@tutanota.com>2023-09-20 19:54:16 +0100
committerLeah Neukirchen <leah@vuxu.org>2023-10-22 01:28:11 +0200
commit87845f52f18e1dedc963f1c7a86b33f3248d21fe (patch)
tree0f1a5cccff4b706bb05fe25a9a125d297305b9d5 /Makefile
parenta3742437505609e847ba7e59c60ea395e708e729 (diff)
downloadxtools-87845f52f18e1dedc963f1c7a86b33f3248d21fe.tar.gz
xtools-87845f52f18e1dedc963f1c7a86b33f3248d21fe.tar.xz
xtools-87845f52f18e1dedc963f1c7a86b33f3248d21fe.zip
completions: add fish completions.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 81f7a90..63fbf37 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,8 @@ all:
 install:
 	for f in x*[!~1]; do install -Dm0755 $$f $(DESTDIR)$(PREFIX)/bin/$$f; done
 	install -Dm644 _xtools $(DESTDIR)/$(PREFIX)/share/zsh/site-functions/_xtools
+	install -Dm644 -t $(DESTDIR)/$(PREFIX)/share/fish/vendor_completions.d -D fish/completions/*
+	install -Dm644 -t $(DESTDIR)/$(PREFIX)/share/fish/vendor_functions.d -D fish/functions/*
 	install -Dm644 xtools.1 $(DESTDIR)/$(PREFIX)/share/man/man1/xtools.1
 	for f in x*[!~1]; do ln -sf xtools.1 $(DESTDIR)$(PREFIX)/share/man/man1/$$f.1; done