diff --git a/assets/settings/default.json b/assets/settings/default.json index ba79f0ccbcca3837d94adc49ddbc9c53b3ae0a5f..c8ffd31617df7d057e89329c2db70c6b6aa21e95 100644 --- a/assets/settings/default.json +++ b/assets/settings/default.json @@ -1441,7 +1441,7 @@ "default_height": 320, // What working directory to use when launching the terminal. // May take 4 values: - // 1. Use the current file's project directory. Will Fallback to the + // 1. Use the current file's project directory. Fallback to the // first project directory strategy if unsuccessful // "working_directory": "current_project_directory" // 2. Use the first project in this workspace's directory diff --git a/crates/settings/src/settings_content/terminal.rs b/crates/settings/src/settings_content/terminal.rs index c54ebe2d1c57af6e0fe51c765a5529cc4b1d4d7f..cd01eb14fa5ce19b077c39b67f8bd90ac93ad35f 100644 --- a/crates/settings/src/settings_content/terminal.rs +++ b/crates/settings/src/settings_content/terminal.rs @@ -222,10 +222,11 @@ pub enum Shell { #[strum_discriminants(derive(strum::VariantArray, strum::VariantNames, strum::FromRepr))] #[serde(rename_all = "snake_case")] pub enum WorkingDirectory { - /// Use the current file's project directory. Will Fallback to the + /// Use the current file's project directory. Fallback to the /// first project directory strategy if unsuccessful. CurrentProjectDirectory, - /// Use the first project in this workspace's directory. + /// Use the first project in this workspace's directory. Fallback to using + /// this platform's home directory. FirstProjectDirectory, /// Always use this platform's home directory (if it can be found). AlwaysHome, diff --git a/docs/src/configuring-zed.md b/docs/src/configuring-zed.md index cf86a0a6e7a6c4426f5a55d246f93b5c51be9792..2d866677650a0da141f27b3c78f7ad96f9581967 100644 --- a/docs/src/configuring-zed.md +++ b/docs/src/configuring-zed.md @@ -4071,7 +4071,7 @@ Example command to set the title: `echo -e "\e]2;New Title\007";` **Options** -1. Use the current file's project directory. Will Fallback to the first project directory strategy if unsuccessful +1. Use the current file's project directory. Fallback to the first project directory strategy if unsuccessful. ```json [settings] { @@ -4081,7 +4081,7 @@ Example command to set the title: `echo -e "\e]2;New Title\007";` } ``` -2. Use the first project in this workspace's directory. Will fallback to using this platform's home directory. +2. Use the first project in this workspace's directory. Fallback to using this platform's home directory. ```json [settings] { @@ -4091,7 +4091,7 @@ Example command to set the title: `echo -e "\e]2;New Title\007";` } ``` -3. Always use this platform's home directory (if we can find it) +3. Always use this platform's home directory if it can be found. ```json [settings] {