Merge pull request #45996 from teto/alot_completion

[rdy] pythonPackages.alot: install zsh completion
This commit is contained in:
Jörg Thalheim 2018-09-06 11:28:09 +01:00 committed by GitHub
commit 89571b255e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,8 @@ buildPythonPackage rec {
mkdir -p $out/share/{applications,alot} mkdir -p $out/share/{applications,alot}
cp -r extra/themes $out/share/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 sed "s,/usr/bin,$out/bin,g" extra/alot.desktop > $out/share/applications/alot.desktop
''; '';