diff --git a/home/modules/fish.nix b/home/modules/fish.nix index 3b45935..6d12f37 100644 --- a/home/modules/fish.nix +++ b/home/modules/fish.nix @@ -1,7 +1,8 @@ -{ inputs, pkgs, ... }: +{ pkgs, inputs, ... }: { programs.bash = { - interactiveShellInit = '' + enable = true; + initExtra = '' if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]] then shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""