config: add 'login-shell' option

This commit is contained in:
Daniel Eklöf 2020-02-20 18:35:10 +01:00
parent 8dee9bf942
commit 6af4b87ec5
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
3 changed files with 11 additions and 0 deletions

2
main.c
View file

@ -286,6 +286,8 @@ main(int argc, char *const *argv)
free(conf.term);
conf.term = strdup(conf_term);
}
if (login_shell)
conf.login_shell = true;
if (tll_length(conf_fonts) > 0) {
tll_free_and_free(conf.fonts, free);
tll_foreach(conf_fonts, it)