Install shell completions
This commit is contained in:
parent
61396047dc
commit
7259b4ce12
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user