refactor: gigantic refactor

This commit is contained in:
leonhard committed 2026-11-12 13:26:08 +01:00
1 parent d1e2bde503
commit 0474f7bbb4
50 files changed
+232 -207

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
{ pkgs, ... }:
{
programs.bash = {
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=""
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
fi
'';
};
programs.fish.enable = true;
}