feat: Automatically run fish if bash is in interactive mode
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled

This commit is contained in:
2026-02-27 12:35:12 +05:30
parent fd5e28b368
commit d9c9b55d49

View File

@@ -44,6 +44,15 @@
'';
};
home.shell.enableFishIntegration = true;
programs.bash = {
enable = true;
initExtra = ''
if [[ $- == *i* && -z "$FISH_VERSION" ]]; then
exec ${lib.getExe pkgs.fish}
fi
'';
};
}
// lib.optionalAttrs (!(device.is "tsuba")) {
stylix.targets.fish.enable = false;