diff --git a/assets/settings/default.json b/assets/settings/default.json index ba79f0ccbc..c8ffd31617 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 c54ebe2d1c..cd01eb14fa 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 cf86a0a6e7..2d86667765 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] {