aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChua Hou <human+github@chuahou.dev>2021-06-02 00:44:03 +0800
committerChua Hou <human+github@chuahou.dev>2021-06-02 00:44:03 +0800
commitaedb5c7301d3ee45083d71137b228f4e79bf4868 (patch)
treef11d51a31953b573c4eaaeb65da7f55c89375ec4
parent5985b8b5275605ddd5e92e2f0a7a9f494ac6e35d (diff)
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))