exec fish in .bash_profile prevents the Wayland session from starting
Affected version
OS: Arch Linux
GDM 3.34.1-1, mutter 3.34.3+30+g4959ae8bc-1, gnome-shell 1:3.34.3-1
Bug summary
Having exec fish
in .bash_profile
prevents the GNOME Wayland session from starting. GNOME Xorg and GNOME Classic start fine. Sway starts fine from GDM. XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
spawns a new fish
instance.
I had it there to launch fish on other VTs after logging in.
Steps to reproduce
- Install
fish
. - Put
exec fish
in.bash_profile
. - Try to start a GNOME Wayland session.
What happened
When logging into the GNOME session from GDM the screen flashes black and goes back to GDM. When using XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
it spawns a fish
instance.
What did you expect to happen
GNOME starts up as normal.