I can't figure out how to launch a new Cygwin session from within Cygwin, similar to launching a new terminal from within bash with:
It's probably easy but I am missing something. Any ideas?
cygstart /bin/bash -li
Press 'Alt-F2' if you only want to open another terminal(mintty) in mintty, not from within a script. See 'man mintty' for other keyboard shortcut.
if you use the "default" cygwin console (aka cmd.exe) then:
cmd /c start /d "C:\cygwin\bin" SHELL.EXE PARAMS
and then replace SHELL.EXE and PARAMS by what you use:
i would advise you to use a better console like 'mintty' or 'rxvt', which you launch just by typing "mintty" (or pressing f2) or "rxvt".
In order to load also my
.bash_profile, I've created an alias in my
.bashrc with the following command :
alias mintty='mintty.exe -i /Cygwin-Terminal.ico - &'