I made windows shortcut with the following target:
D:\APPS\cygwin64\bin\mintty.exe /bin/env PATH=/local/bin:/usr/local/bin:$PATH /bin/bash --login -i
I was expecting it prepend path with my given values, but it doesn't:
$ echo $PATH /usr/local/bin:/usr/bin:/local/bin:/usr/local/bin:$PATH:/usr/lib/lapack
$PATH text went into content without expansion.
How to overcome?