feat: Automatically run fish if bash is in interactive mode
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user