mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
termio/exec: only use sh login flag in flatpak
This commit is contained in:
@ -893,7 +893,7 @@ const Subprocess = struct {
|
||||
// to setup some environment variables that are important to
|
||||
// have set.
|
||||
try args.append("/bin/sh");
|
||||
try args.append("-l");
|
||||
if (internal_os.isFlatpak()) try args.append("-l");
|
||||
try args.append("-c");
|
||||
try args.append(opts.full_config.command orelse default_path);
|
||||
break :args try args.toOwnedSlice();
|
||||
|
Reference in New Issue
Block a user