jcjordyn140 / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Invoking the default shell as a login shell #45

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When MinTTY is invoked without a command, the user's default shell is
started as a non-login shell. It would be nice to be able to do that
without having to explicitly invoke the shell (as in "/bin/bash -li").

Original issue reported on code.google.com by andy.koppe on 19 Jan 2009 at 6:52

GoogleCodeExporter commented 9 years ago
Implemented in r124. If the command is a single "-" without further arguments, 
the
user's default shell is invoked with argv[0] set to "-", which causes shells to
behave as login shells.

Original comment by andy.koppe on 19 Jan 2009 at 6:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by andy.koppe on 20 Jan 2009 at 5:59