summary refs log tree commit diff
path: root/pkgs/applications/misc/khal
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2018-09-04 19:27:19 +0900
committerMatthieu Coudron <mattator@gmail.com>2018-09-04 19:27:47 +0900
commit61df695f65fe3102536f152c36cca45753f303d6 (patch)
tree69c52bb9e784ef9b74db1a6cd37118bc3c4b2340 /pkgs/applications/misc/khal
parentd22e22e2dd83510ca11ab6966cacd2ee929a2d73 (diff)
downloadnixpkgs-61df695f65fe3102536f152c36cca45753f303d6.tar
nixpkgs-61df695f65fe3102536f152c36cca45753f303d6.tar.gz
nixpkgs-61df695f65fe3102536f152c36cca45753f303d6.tar.bz2
nixpkgs-61df695f65fe3102536f152c36cca45753f303d6.tar.lz
nixpkgs-61df695f65fe3102536f152c36cca45753f303d6.tar.xz
nixpkgs-61df695f65fe3102536f152c36cca45753f303d6.tar.zst
nixpkgs-61df695f65fe3102536f152c36cca45753f303d6.zip
khal: add zsh completion
Diffstat (limited to 'pkgs/applications/misc/khal')
-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 ede85aeada5..f9c929c21bf 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
   '';