3
0
Fork 0
forked from mirrors/nixpkgs

Install shell completions

This commit is contained in:
Serg Nesterov 2020-05-01 17:46:05 +03:00
parent 61396047dc
commit 7259b4ce12
No known key found for this signature in database
GPG key ID: 7ED18DB77A86EE14

View file

@ -1,4 +1,4 @@
{ lib, buildRubyGem, ruby }:
{ lib, buildRubyGem, ruby, installShellFiles }:
# Cannot use bundleEnv because bundleEnv create stub with
# BUNDLE_FROZEN='1' environment variable set, which broke everything
@ -37,6 +37,12 @@ buildRubyGem rec {
propagatedBuildInputs = [ erubis thor xdg ];
nativeBuildInputs = [ installShellFiles ];
postInstall = ''
installShellCompletion $GEM_HOME/gems/${gemName}-${version}/completion/tmuxinator.{bash,zsh,fish}
'';
meta = with lib; {
description = "Manage complex tmux sessions easily";
homepage = "https://github.com/tmuxinator/tmuxinator";