summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Wallace <danielwallace@gtmanfred.com>2013-02-28 18:42:33 +0100
committerDave Reisner <dreisner@archlinux.org>2013-02-28 18:51:27 +0100
commit62a223c8f27c72f6ba3954a9de9c750ea9c79ce0 (patch)
tree40f59090450db9a09ca95fd878fb259eb09a7ccf /Makefile
parent07cf5a74aed190308f94eb76d9b1ad08492736a2 (diff)
downloadmkinitcpio-62a223c8f27c72f6ba3954a9de9c750ea9c79ce0.tar.gz
mkinitcpio-62a223c8f27c72f6ba3954a9de9c750ea9c79ce0.tar.xz
add zsh completion
add zsh completion for lsinitcpio and mkinitcpio Signed-off-by: Daniel Wallace <danielwallace@gtmanfred.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5322ff1..633dd63 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ VERSION = $(shell if test -f VERSION; then cat VERSION; else git describe | sed
DIRS = \
/usr/bin \
/usr/share/bash-completion/completions \
+ /usr/share/zsh/site-functions \
/etc/mkinitcpio.d \
/usr/lib/initcpio/hooks \
/usr/lib/initcpio/install \
@@ -52,6 +53,7 @@ install: all
install -m644 man/lsinitcpio.1 $(DESTDIR)/usr/share/man/man1/lsinitcpio.1
install -m644 bash-completion $(DESTDIR)/usr/share/bash-completion/completions/mkinitcpio
ln -s mkinitcpio $(DESTDIR)/usr/share/bash-completion/completions/lsinitcpio
+ install -m644 zsh-completion $(DESTDIR)/usr/share/zsh/site-functions/_mkinitcpio
doc: $(MANPAGES)
man/%: man/%.txt Makefile