removes fish as shell

This commit is contained in:
Dennis 2025-09-16 15:36:12 +02:00
parent 6d1bb749a7
commit 852258d66f
3 changed files with 3 additions and 20 deletions

View file

@ -43,15 +43,8 @@
};
nix.settings.auto-optimise-store = true;
# Launch fish shell
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
'';
enable = true;
};
# Networking