aboutsummaryrefslogtreecommitdiff
path: root/misc/zsh/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'misc/zsh/meson.build')
-rw-r--r--misc/zsh/meson.build10
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/zsh/meson.build b/misc/zsh/meson.build
new file mode 100644
index 000000000..8063a5cb8
--- /dev/null
+++ b/misc/zsh/meson.build
@@ -0,0 +1,10 @@
+foreach script : [ [ 'completion.zsh', '_nix' ], [ 'run-help-nix' ] ]
+ configure_file(
+ input : script[0],
+ output : script.get(1, script[0]),
+ install : true,
+ install_dir : datadir / 'zsh/site-functions',
+ install_mode : 'rw-r--r--',
+ copy : true,
+ )
+endforeach