summaryrefslogtreecommitdiff
path: root/src/config.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-05 19:32:30 -0300
committerGabriel Schneider <[email protected]>2026-08-10 09:17:07 -0300
commit8aafc3fa24c7475a07259eb06cd5d217f510df98 (patch)
tree62115e1ef1f15c57022060124c5ff934b778e169 /src/config.zig
parent30a44a55232b829866bc3554647de21929276d1a (diff)
downloadpardes-8aafc3fa24c7475a07259eb06cd5d217f510df98.tar.gz
pardes-8aafc3fa24c7475a07259eb06cd5d217f510df98.zip
add a Shell builtin, default fish, with per-family prompt integration
Diffstat (limited to 'src/config.zig')
-rw-r--r--src/config.zig8
1 files changed, 8 insertions, 0 deletions
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 <name>` 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