Set Default Shell in Cygwin
Try editing /etc/nsswitch.conf instead of /etc/passwd Instead of creating a passwd file, which Cygwin recommends against1, you could edit /etc/nsswitch.conf. Add or edit the following line: db_shell: /usr/bin/fish The down/up side of this method is that, if you have multiple users, this change affects all of them. The up/up side is that it’s dead simple. … Read more