mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
mcfly: fix when non-interactive with fish
This commit is contained in:
parent
249650a07e
commit
1f04af74f2
1 changed files with 3 additions and 1 deletions
|
@ -66,7 +66,9 @@ in {
|
|||
|
||||
programs.fish.shellInit = mkIf cfg.enableFishIntegration ''
|
||||
source "${pkgs.mcfly}/share/mcfly/mcfly.fish"
|
||||
mcfly_key_bindings
|
||||
if status is-interactive
|
||||
mcfly_key_bindings
|
||||
end
|
||||
'';
|
||||
|
||||
home.sessionVariables.MCFLY_KEY_SCHEME = cfg.keyScheme;
|
||||
|
|
Loading…
Reference in a new issue