From 7ae9497f49a9daa5585e57e75758059910e5fc57 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 29 May 2024 16:35:07 -0700 Subject: [PATCH] hm not nixos --- home/modules/fish.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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=""