I have installed a fresh Fedora 26, when I install fish (comes with 2.3.1 but I upgraded to 2.6) and I set it as default shell (chsh -s /usr/local/bin/fish) works as expected... until I restart the PC and I try to login; gdm successfully logs me in, but after a few screen flashes it returns me to login screen, leaving me unable to login to my user.
I temporary solved this by login in another tty (Ctrl+Alt+F2) with my user and changed the shell back to bash: chsh -s /bin/bash.
Have someone else had this same issue? I've installed Gnome Ubuntu 17.04 and I couldn't reproduce this. Also, this is a common symptom for buggy nvidia drivers with wayland, mutter package buggy version, and incorrect home folder permissions. It was hard for me to find that fish was the actual culprit.
Update
After installing Fedora 27 and having the same issue, I started from scratch, and basically, to reproduce this is following these steps:
- Install grc
- Install Fish
- Install Oh-My-Fish
- Install Oh-My-Fish grc plugin-in