fix login_shell option so that it sends -l rather than -shell
This commit is contained in:
parent
1ad579ce03
commit
d0ac642f71
|
@ -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