summary refs log tree commit diff
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2018-09-06 11:28:09 +0100
committerGitHub <noreply@github.com>2018-09-06 11:28:09 +0100
commit89571b255ea3f3e5e92e50a7cbb04b28198efca8 (patch)
treed5259367f77fc39fd78f686be308f70b6bc02bab
parent4616ef1f4135cb1908893362371ecbca6b067d24 (diff)
parent97816bed335aaa55e8a897835d96602db9f080d2 (diff)
downloadnixlib-89571b255ea3f3e5e92e50a7cbb04b28198efca8.tar
nixlib-89571b255ea3f3e5e92e50a7cbb04b28198efca8.tar.gz
nixlib-89571b255ea3f3e5e92e50a7cbb04b28198efca8.tar.bz2
nixlib-89571b255ea3f3e5e92e50a7cbb04b28198efca8.tar.lz
nixlib-89571b255ea3f3e5e92e50a7cbb04b28198efca8.tar.xz
nixlib-89571b255ea3f3e5e92e50a7cbb04b28198efca8.tar.zst
nixlib-89571b255ea3f3e5e92e50a7cbb04b28198efca8.zip
Merge pull request #45996 from teto/alot_completion
[rdy] pythonPackages.alot: install zsh completion
-rw-r--r--pkgs/development/python-modules/alot/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/alot/default.nix b/pkgs/development/python-modules/alot/default.nix
index dd06d4dde7a6..7c4e15f85683 100644
--- a/pkgs/development/python-modules/alot/default.nix
+++ b/pkgs/development/python-modules/alot/default.nix
@@ -47,6 +47,8 @@ buildPythonPackage rec {
     mkdir -p $out/share/{applications,alot}
     cp -r extra/themes $out/share/alot
 
+    install -D extra/completion/alot-completion.zsh $out/share/zsh/site-functions/_alot
+
     sed "s,/usr/bin,$out/bin,g" extra/alot.desktop > $out/share/applications/alot.desktop
   '';