Re: [dev] ST 'loginShell'

From: Sime Ramov <>
Date: Fri, 4 Mar 2022 07:59:09 +0000


"Greg Reagle" <> wrote:
> Both bash and fish have a dash ell -l option or --login. I don't know
> about OpenBSD ksh, read the man page.

Yeah, OpenBSD ksh too, that's not an issue, but how to get ST to
spawn a login shell, e.g. from Xterm manpage:

loginShell (class LoginShell)
    Specifies whether or not the shell to be run in the window should
    be started as a login shell. The default is "false".

I didn't manage to get this going via `config.h`:

     * What program is execed by st depends of these precedence rules:
     * 1: program passed with -e
     * 2: scroll and/or utmp
     * 3: SHELL environment variable
     * 4: value of shell in /etc/passwd
     * 5: value of shell in config.h

Tried options 1, 3 and 5, but even if some of them work, they are
low in precedence list... Any ideas?
Received on Fri Mar 04 2022 - 08:59:09 CET

This archive was generated by hypermail 2.3.0 : Fri Mar 04 2022 - 09:00:10 CET