Make CYGWIN binary as priority in windows
Important syntax to make cygwin as priority
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$PATH";
Example make cygwin as priority in bash script
#!/usr/bin/env bash
#sh -c 'rm -rf node_modules/a* & wait'
# make cygwin bin as priority
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$PATH";
# Your code here