summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGustavo Costa <xfgusta@gmail.com>2022-06-11 16:30:13 -0300
committerGustavo Costa <xfgusta@gmail.com>2022-06-14 18:02:22 -0300
commite311f2e92c192103194124bd6b1a8c89c35f4bac (patch)
treeba97851db580b6ce82177456ebf658bdd98326a1 /Makefile
parent33293e337ed4d9205b1185c44e1fe3fcb1a10af6 (diff)
downloadbfs-e311f2e92c192103194124bd6b1a8c89c35f4bac.tar.xz
Add fish completion
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b521b30..d0d3f92 100644
--- a/Makefile
+++ b/Makefile
@@ -289,11 +289,14 @@ install:
$(INSTALL) -m644 completions/bfs.bash $(DESTDIR)$(PREFIX)/share/bash-completion/completions/bfs
$(MKDIR) $(DESTDIR)$(PREFIX)/share/zsh/site-functions
$(INSTALL) -m644 completions/bfs.zsh $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_bfs
+ $(MKDIR) $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d
+ $(INSTALL) -m644 completions/bfs.fish $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d/bfs.fish
.PHONY: install
uninstall:
$(RM) $(DESTDIR)$(PREFIX)/share/bash-completion/completions/bfs
$(RM) $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_bfs
+ $(RM) $(DESTDIR)$(PREFIX)/share/fish/vendor_completions.d/bfs.fish
$(RM) $(DESTDIR)$(MANDIR)/man1/bfs.1
$(RM) $(DESTDIR)$(PREFIX)/bin/bfs
.PHONY: uninstall