only not exec fish, when WANT_BASH is defined
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
This commit is contained in:
parent
f1899875ce
commit
143cc1742a
|
@ -73,8 +73,8 @@ in
|
||||||
}".source =
|
}".source =
|
||||||
cfg.icon;
|
cfg.icon;
|
||||||
};
|
};
|
||||||
extraOptions.programs.bash.bashrcExtra = ''
|
extraOptions.programs.bash.initExtra = ''
|
||||||
[[ $PS1 ]] && exec env fish -l
|
[[ $WANT_BASH ]] || exec env fish -l
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue