Add shopt and set TERM variable to get rid of "Terminal is not fully functional" warnings.
Default config for mintty