From 5401fafa09f89f3eaf4e3d726c91b61a88ee76df Mon Sep 17 00:00:00 2001 From: RGBCube Date: Mon, 1 Jul 2024 13:58:52 +0300 Subject: [PATCH] Fix deprecated nushell settings --- modules/nushell/configuration.nu | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/modules/nushell/configuration.nu b/modules/nushell/configuration.nu index febb593..13ec84b 100644 --- a/modules/nushell/configuration.nu +++ b/modules/nushell/configuration.nu @@ -7,11 +7,20 @@ $env.config = { float_precision: 2 footer_mode: 25 render_right_prompt_on_last_line: false - shell_integration: true show_banner: false use_ansi_coloring: true use_grid_icons: true use_kitty_protocol: true + + shell_integration: { + osc2: false + osc7: true + osc8: true + osc9_9: false + osc133: true + osc633: true + reset_application_mode: true + } } $env.config.color_config = { @@ -159,7 +168,7 @@ $env.config.hooks = { env_change: {} pre_execution: [ { - let prompt = (commandline) | str trim + let prompt = commandline | str trim if ($prompt | is-empty) { return