Merge pull request #207 from mattrose/fix-login
fix login_shell option so that it sends -l rather than -shell
This commit is contained in:
commit
1c747b8971
|
@ -1460,7 +1460,7 @@ class Terminal(Gtk.VBox):
|
||||||
shell = util.shell_lookup()
|
shell = util.shell_lookup()
|
||||||
|
|
||||||
if self.config['login_shell']:
|
if self.config['login_shell']:
|
||||||
args.insert(0, "-%s" % shell)
|
args.insert(0, "-l")
|
||||||
else:
|
else:
|
||||||
args.insert(0, shell)
|
args.insert(0, shell)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue