about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-09-06 07:56:37 +0100
committerGitHub <noreply@github.com>2018-09-06 07:56:37 +0100
commitb285ea77c2a804333d4a5fec97017e9dccb4545d (patch)
tree9f34957a1cbf50e032419c299faee5652553da47 /pkgs/applications/misc
parentf89d6d92b7b4b79015836f12c5a114f53fa4eccb (diff)
parent61df695f65fe3102536f152c36cca45753f303d6 (diff)
Merge pull request #46034 from teto/khal_zsh_completion
khal: add zsh completion
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/khal/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix
index ede85aeada5a4..f9c929c21bfba 100644
--- a/pkgs/applications/misc/khal/default.nix
+++ b/pkgs/applications/misc/khal/default.nix
@@ -46,6 +46,10 @@ in with python.pkgs; buildPythonApplication rec {
   nativeBuildInputs = [ setuptools_scm pkgs.glibcLocales ];
   checkInputs = [ pytest ];
 
+  postInstall = ''
+    install -D misc/__khal $out/share/zsh/site-functions/__khal
+  '';
+
   checkPhase = ''
     py.test
   '';