From 8df1639048529b383358000879b5ee078a90b9f9 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 30 May 2026 01:53:55 +0300 Subject: fix: use login shells for macos panes refs #350 --- src/main.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 163ce66e..a3d19876 100644 --- a/src/main.rs +++ b/src/main.rs @@ -84,6 +84,10 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration # Empty means $SHELL, then /bin/sh. # default_shell = "" +# Startup mode for new interactive pane shells: "auto", "login", or "non_login". +# "auto" uses login shells on macOS and keeps the current behavior elsewhere. +# shell_mode = "auto" + # CWD policy for new panes, tabs, and workspaces when no explicit --cwd is provided. # Use "follow" to inherit the source pane/workspace, "home" for $HOME, # "current" for Herdr's process directory, or a fixed path such as "~/Projects". -- cgit v1.2.3