hm not nixos

This commit is contained in:
Zynh Ludwig 2024-05-29 16:35:07 -07:00
parent c84a021f97
commit 7ae9497f49

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