Rafael Kitover c31f18202d better support for Win10 OpenSSH server (#1375)
If msys2 bash is set as the DefaultShell for the Win10 OpenSSH server,
there is no way to pass -l to make it a login shell, so /etc/profile is
not sourced, PATH is not set, and the bashrc produces errors.

Detect this case in /etc/bash.bashrc, by checking for the SSH_CONNECTION
environment variable and PATH not having msys2 elements, and source
/etc/profile.
2018-08-08 08:46:00 +03:00
..
2015-04-26 13:35:26 +03:00
2016-06-21 03:03:24 +03:00
2016-06-26 15:46:53 -03:00