config: update some comments around pwd inheritance

Fixes #760
This commit is contained in:
Mitchell Hashimoto
2023-10-29 12:02:19 -07:00
parent 177aaea1d3
commit 68275d6afa

View File

@ -280,6 +280,12 @@ command: ?[]const u8 = null,
/// The directory to change to after starting the command. /// The directory to change to after starting the command.
/// ///
/// This setting is secondary to the "window-inherit-working-directory"
/// setting. If a previous Ghostty terminal exists in the same process,
/// "window-inherit-working-directory" will take precedence. Otherwise,
/// this setting will be used. Typically, this setting is used only
/// for the first window.
///
/// The default is "inherit" except in special scenarios listed next. /// The default is "inherit" except in special scenarios listed next.
/// On macOS, if Ghostty can detect it is launched from launchd /// On macOS, if Ghostty can detect it is launched from launchd
/// (double-clicked) or `open`, then it defaults to "home". /// (double-clicked) or `open`, then it defaults to "home".