aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-06-02 13:32:15 +0200
committerGitHub <noreply@github.com>2021-06-02 13:32:15 +0200
commitbb066409719f3b0e820115a3f89589457bf7f500 (patch)
treef2db7b2848c7034bc516ac94bb827bb9da75ffa8
parentf1b604f603ad80d775f5855dee085b9d5261bafe (diff)
parentaedb5c7301d3ee45083d71137b228f4e79bf4868 (diff)
Merge pull request #4871 from chuahou/master
Install zsh completion script
-rw-r--r--Makefile1
-rw-r--r--misc/zsh/local.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 68ec3ab0c..b7f0e79db 100644
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,7 @@ makefiles = \
src/resolve-system-dependencies/local.mk \
scripts/local.mk \
misc/bash/local.mk \
+ misc/zsh/local.mk \
misc/systemd/local.mk \
misc/launchd/local.mk \
misc/upstart/local.mk \
diff --git a/misc/zsh/local.mk b/misc/zsh/local.mk
new file mode 100644
index 000000000..418fb1377
--- /dev/null
+++ b/misc/zsh/local.mk
@@ -0,0 +1 @@
+$(eval $(call install-file-as, $(d)/completion.zsh, $(datarootdir)/zsh/site-functions/_nix, 0644))