hm not nixos
This commit is contained in:
parent
c84a021f97
commit
7ae9497f49
1 changed files with 3 additions and 2 deletions
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue