hm not nixos

main
Zynh Ludwig 2024-05-29 16:35:07 -07:00
parent c84a021f97
commit 7ae9497f49
1 changed files with 3 additions and 2 deletions

View File

@ -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=""