AutoFenc
AutoFenc copied to clipboard
Fails on Windows with Cygwin/bash set as shell
On Windows if shell is set to bash (e.g., when using Cygwin), the custom nobbling of shellslash in s:SafeShellEscape actually breaks things, and you get E484 errors trying to use the temp file.
I've patched mine to not perform the nobble if shell is set to a shell-like filename:
if ( has("win32") || has("win64") ) && &shell !~? "sh$"
You could arguably do the opposite check against cmd.
Thank you for the report. I will check it once I am on Windows.