From ff03038b8c419b9987d0a9ea01777f28054d85f5 Mon Sep 17 00:00:00 2001 From: TheWanderingCrow Date: Mon, 4 Nov 2024 11:40:21 -0500 Subject: [PATCH] try this thing for bash --- modules/core.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core.nix b/modules/core.nix index 52f4969..990f009 100644 --- a/modules/core.nix +++ b/modules/core.nix @@ -93,7 +93,7 @@ interactiveShellInit = '' 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="" + shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION="" exec ${pkgs.fish}/bin/fish $LOGIN_OPTION fi '';