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 =
|
||||
cfg.icon;
|
||||
};
|
||||
extraOptions.programs.bash.bashrcExtra = ''
|
||||
[[ $PS1 ]] && exec env fish -l
|
||||
extraOptions.programs.bash.initExtra = ''
|
||||
[[ $WANT_BASH ]] || exec env fish -l
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue