diff options
author | Luke Smith <luke@lukesmith.xyz> | 2023-03-10 10:14:36 -0500 |
---|---|---|
committer | Luke Smith <luke@lukesmith.xyz> | 2023-03-10 10:14:36 -0500 |
commit | a4e90d2c6f7d92f6c72fbbfcf377ab9d1829996e (patch) | |
tree | 87a19d3c19c6345de0e921a9c0d068819b0dd4dd | |
parent | 7351770679e2ef9bdc137e94e1b662aa085ec11f (diff) |
actually install zsh completion
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | completion/_mutt-wizard.zsh (renamed from completion/mutt-wizard-completion.zsh) | 0 |
2 files changed, 5 insertions, 0 deletions
@@ -34,10 +34,15 @@ install: sed -iba 's:/usr/local:$(PREFIX):' $(DESTDIR)$(PREFIX)/share/mutt-wizard/mailcap; \ rm -f $(DESTDIR)$(PREFIX)/share/mutt-wizard/mailcapba; \ fi + mkdir -p $(DESTDIR)$(PREFIX)/share/zsh/site-functions/ + chmod 755 $(DESTDIR)$(PREFIX)/share/zsh/site-functions/ + cp -f completion/_mutt-wizard.zsh $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_mutt-wizard.zsh + chmod 644 $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_mutt-wizard.zsh uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/mw $(DESTDIR)$(PREFIX)/bin/mailsync $(DESTDIR)$(PREFIX)/lib/mutt-wizard/openfile rm -rf $(DESTDIR)$(PREFIX)/share/mutt-wizard $(DESTDIR)$(PREFIX)/lib/mutt-wizard rm -f $(DESTDIR)$(MANPREFIX)/man1/mw.1 $(DESTDIR)$(MANPREFIX)/man1/mailsync.1 + rm -f $(DESTDIR)$(PREFIX)/share/zsh/site-functions/_mutt-wizard.zsh .PHONY: install uninstall diff --git a/completion/mutt-wizard-completion.zsh b/completion/_mutt-wizard.zsh index 119df07..119df07 100644 --- a/completion/mutt-wizard-completion.zsh +++ b/completion/_mutt-wizard.zsh |