From 2b97799b6715fd6c355db9c225029765971915e6 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Wed, 20 May 2026 00:29:53 +0300 Subject: feat: add configurable default shell refs #196 --- docs/next/CHANGELOG.md | 1 + docs/next/website/src/content/docs/configuration.mdx | 11 +++++++++++ 2 files changed, 12 insertions(+) (limited to 'docs') diff --git a/docs/next/CHANGELOG.md b/docs/next/CHANGELOG.md index 152c794c..8a487d90 100644 --- a/docs/next/CHANGELOG.md +++ b/docs/next/CHANGELOG.md @@ -4,6 +4,7 @@ ### Added - Added an integrations tab in settings and first-run onboarding so users can install recommended agent integrations from inside Herdr. +- Added `terminal.default_shell` to choose the executable used for new interactive panes. When unset, Herdr still falls back to `$SHELL`, then `/bin/sh`. (#196) ## [0.5.12] - 2026-05-19 diff --git a/docs/next/website/src/content/docs/configuration.mdx b/docs/next/website/src/content/docs/configuration.mdx index d8d106ec..317dc4d2 100644 --- a/docs/next/website/src/content/docs/configuration.mdx +++ b/docs/next/website/src/content/docs/configuration.mdx @@ -45,6 +45,17 @@ You can also open the global menu in Herdr and choose `reload config`. Reload applies most UI settings without restarting panes. Startup-only settings still need a restart. +## Default shell + +Set the executable Herdr uses for newly created interactive panes: + +```toml +[terminal] +default_shell = "nu" +``` + +When unset or empty, Herdr uses `$SHELL`, then `/bin/sh`. This is an executable name or path, not a shell command line. Existing panes keep their current shell until they are recreated. Command panes still run through `/bin/sh -c`; detached custom command keybindings use Herdr's existing `/bin/sh -lc` path. + ## Keybindings Herdr has a prefix mode similar to tmux. The default prefix is `ctrl+b`. -- cgit v1.2.3