diff --git a/crates/nu-utils/src/default_files/doc_config.nu b/crates/nu-utils/src/default_files/doc_config.nu index 31a57a645b..252eb4718e 100644 --- a/crates/nu-utils/src/default_files/doc_config.nu +++ b/crates/nu-utils/src/default_files/doc_config.nu @@ -202,14 +202,12 @@ $env.config.shell_integration.osc2 = true # osc7 (bool): # Nushell will report the current directory to the terminal using OSC 7. This is useful when # spawning new tabs in the same directory. -# This is disabled by default on Windows in favor of the `osc9_9` option. -$env.config.shell_integration.osc7 = true +$env.config.shell_integration.osc7 = ($nu.os-info.name != windows) # osc9_9 (bool): # Enables/Disables OSC 9;9 support, originally a ConEmu terminal feature. This is an # alternative to OSC 7 which also communicates the current path to the terminal. -# This is enabled by default on Windows as it is used by the Windows Terminal. -$env.config.shell_integration.osc9_9 = false +$env.config.shell_integration.osc9_9 = ($nu.os-info.name == windows) # osc8 (bool): # When true, the `ls` command will generate clickable links that can be launched in another