From 8aafc3fa24c7475a07259eb06cd5d217f510df98 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 5 Aug 2026 19:32:30 -0300 Subject: add a Shell builtin, default fish, with per-family prompt integration --- src/config.zig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/config.zig') diff --git a/src/config.zig b/src/config.zig index a8e3639f..9451a2a7 100644 --- a/src/config.zig +++ b/src/config.zig @@ -128,6 +128,8 @@ pub const leader_path = paths: { // reason Look and Exec have none) .ThemeSel = "tt", .Theme = null, + // ...and `Shell` takes the name of a binary, so it has none either + .Shell = null, // the image toggles join the same `t` group; Palette takes `l` because // `p` is Petscii's and `c` is Colors'. .Petscii = "tp", @@ -430,6 +432,12 @@ test "wheel drift guard" { // ---- layout numbers that are taste ---- +/// What a terminal pane runs until someone says otherwise (the Shell builtin, +/// or a `Shell ` line in the config file). A bare NAME, resolved against +/// the usual bin directories at spawn time — so a machine without it falls +/// back rather than opening a pane that dies at exec. +pub const default_shell = "fish"; + /// the file pane's line-number gutter, in columns pub const PREFIX_W: u16 = 5; /// soft wrap (the Wrap builtin): the glyph a wrapped row ends with, in the one -- cgit v1.3