Cygwin startup configuration can be easily modified. While advanced users might modify the Windows CYGWIN environment variable, typical needs can be handled from within Cygwin ~/.bashrc or from other Windows environment variables.
A typical need is to not populate Cygwin PATH from Windows PATH. This is something we typically do to avoid confusion from Windows programs being used instead of Cygwin programs. To do this, set Windows environment variable:
This will result in a basic Cygwin PATH like:
Look inside Cygwin “/etc/config” file for more environment variables that may be of interest.
Don’t populate WSL PATH from Windows PATH.