From 3de6ea799965a7d2aad0f7db2f23f54cd24cb039 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 23 May 2026 00:32:46 +0300 Subject: feat: configure new terminal cwd --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index a846d092..cbe584ef 100644 --- a/src/main.rs +++ b/src/main.rs @@ -82,6 +82,11 @@ const DEFAULT_CONFIG: &str = r##"# herdr configuration # Empty means $SHELL, then /bin/sh. # default_shell = "" +# 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". +# new_cwd = "follow" + [keys] # Prefix key to enter prefix mode (default: "ctrl+b") # Examples: "ctrl+b", "f12", "esc", "-" -- cgit v1.2.3