only not exec fish, when WANT_BASH is defined

Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
Harald Hoyer 2024-03-20 22:11:30 +01:00
parent f1899875ce
commit 143cc1742a

View file

@ -73,8 +73,8 @@ in
}".source =
cfg.icon;
};
extraOptions.programs.bash.bashrcExtra = ''
[[ $PS1 ]] && exec env fish -l
extraOptions.programs.bash.initExtra = ''
[[ $WANT_BASH ]] || exec env fish -l
'';
};