Closed GoogleCodeExporter closed 8 years ago
Why?
Original comment by andy.koppe
on 7 Dec 2010 at 7:14
With mintty running a login shell, the bash_profile stuff are loaded and the
starting directory is $HOME, and many more custom stuff.
I want a way to make this the default behavior, instead of always typing mintty
-.
By the way I'm using Launchy, I need to type 'mintty' then 'Tab' then '-'
Original comment by roge...@gmail.com
on 7 Dec 2010 at 7:37
That's not really an issue on a shell command line: just create an alias or
shell function (or use mintty's Alt+F2 shortcut). Also, when invoking a
terminal from an existing shell, you don't normally need it to invoke a login
shell, because the environment should already have been set up for the initial
session.
Regarding Windows shortcuts, it's easy enough to add the '-' to the shortcut
target. The postinstall script of the Cygwin setup.exe package and the
create_shortcut script shipped with the .zip releases already do that.
As for Launchy, that works just fine for me, without having to manually provide
the '-'. That's because it finds the 'mintty' shortcut that the aforementioned
postinstall script created in the Cygwin folder of the start menu. So you just
need to make sure there is a suitable shortcut in a location searched by
Launchy.
Hence I don't see a need for yet another option here.
Original comment by andy.koppe
on 7 Dec 2010 at 8:45
How can I run the login shell without specifying the "-" parameter? it's
impossible to pin mintty to Taskbar without tweaking shortcut properties which
is cumbersome. Is there a way to invoke the login shell commands by hand on
mintty startup?
Original comment by magda.ga...@gmail.com
on 27 May 2014 at 8:27
Original issue reported on code.google.com by
roge...@gmail.com
on 7 Dec 2010 at 6:42