Compare commits

..

1 commit

Author SHA1 Message Date
40968edd0d
fix(zellij): set default shell
All checks were successful
/ check (push) Successful in 9s
/ check-renovaterc (push) Successful in 2s
/ build-packages (push) Successful in 14s
/ build-vm (push) Successful in 1s
/ report-size (push) Successful in 4s
For some reason it fails when trying to start bash.
2025-04-01 23:17:03 +02:00

View file

@ -35,11 +35,6 @@ in
]; ];
programs = { programs = {
# Launch fish if shell is interactive (from https://wiki.nixos.org/wiki/Fish)
bash.interactiveShellInit = # bash
''
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
'';
# Default shell # Default shell
fish.enable = true; fish.enable = true;
# Shell prompt # Shell prompt