I need to start new Cygwin window with running alias in it. Opening new window is:
cygstart /bin/bash -li
(Thanks to: Spawn New Cygwin Window from Within Cygwin)
But how can I send alias in that new Cygwin window? (alias compile="./ant compile")
cygstart /bin/bash -li ./ant compile
Current statement open new bash window and run command there, but not in new cygwin window.
Thanks!