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:
Matt Rose 2020-09-09 14:01:48 -04:00 committed by GitHub
commit 1c747b8971
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)