summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-30 23:33:39 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:18 -0300
commitb4bfcbbe3d35b966a1655968e71165b25dca89a2 (patch)
tree59cfea2c861b0bc66b0741b1b0b2e222bf14a66d /src/config.zig
parent48c129a701d60abdb836bbb400d949cc61ed2820 (diff)
downloadpardes-b4bfcbbe3d35b966a1655968e71165b25dca89a2.tar.gz
pardes-b4bfcbbe3d35b966a1655968e71165b25dca89a2.zip
Shell's help says what a bare Shell is: $SHELL if it is executable, else /bin/sh, not "the login shell"
The settings table and the bad-value refusal said bare Shell returns to the login shell, but defaultShell takes $SHELL when it can run it and /bin/sh otherwise; the passwd entry is never read. Both now say what the code does. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.zig b/src/config.zig
index 7908774b..c997f836 100644
--- a/src/config.zig
+++ b/src/config.zig
@@ -998,7 +998,7 @@ pub const Runtime = struct {
.{ .word = "MessageDissolve", .action = .{ .message_ms = .dissolve }, .doc = "How long, in milliseconds, a message takes to dissolve." },
.{ .word = "DumpDir", .action = .dump_dir, .doc = "The directory Dump writes to and a relative Restore reads from; bare, the default." },
.{ .word = "Theme", .action = .theme, .doc = "Switch to the named theme." },
- .{ .word = "Shell", .action = .shell, .doc = "The shell new terminals run; bare, the login shell." },
+ .{ .word = "Shell", .action = .shell, .doc = "The shell new terminals run; bare, $SHELL if it is executable, else /bin/sh." },
.{ .word = "Font", .action = .font, .availability = .font_picker, .doc = "The body font, by name or path, and its size." },
.{ .word = "TaglineSize", .action = .tagline_size, .availability = .font_picker, .doc = "Scale the tag font, a percentage." },
.{ .word = "WindowOpacity", .action = .window_opacity, .availability = .window_opacity, .doc = "The window's opacity, a percentage." },
@@ -1250,7 +1250,7 @@ pub const Runtime = struct {
.grip_width => "50-300 (a percentage)",
.tagline_size => std.fmt.comptimePrint("{d}-{d} (a percentage)", .{ tagline_percent_min, tagline_percent_max }),
.message_ms => std.fmt.comptimePrint("0-{d} (milliseconds)", .{message_ms_max}),
- .shell => "a path of at most 255 bytes; bare, the login shell",
+ .shell => "a path of at most 255 bytes; bare, $SHELL, else /bin/sh",
.dump_dir => std.fmt.comptimePrint("a path of at most {d} bytes; bare, the default", .{limits.host_path_cap}),
.shader => "a Shadertoy file's path, or off",
.font => "a name or path, :8 to :72 after it (Mono:14)",