From ca6f0b67aa96b15d9804c168fbdf5dd5ff913fe6 Mon Sep 17 00:00:00 2001 From: DustVoice Date: Wed, 28 Jun 2023 11:36:55 +0200 Subject: [PATCH] Only disable nushell shell_integration when wezterm is used (not fixed in current wezterm release) --- .config/nushell/config.nu | 2 +- .wezterm.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/nushell/config.nu b/.config/nushell/config.nu index d97c26e..6815c81 100644 --- a/.config/nushell/config.nu +++ b/.config/nushell/config.nu @@ -298,7 +298,7 @@ let-env config = { use_ansi_coloring: true bracketed_paste: true # enable bracketed paste, currently useless on windows edit_mode: vi # emacs, vi - shell_integration: false # enables terminal markers and a workaround to arrow keys stop working issue + shell_integration: ("WEZTERM_PANE" not-in $env) # enables terminal markers and a workaround to arrow keys stop working issue render_right_prompt_on_last_line: false # true or false to enable or disable right prompt to be rendered on last line of the prompt. hooks: { diff --git a/.wezterm.lua b/.wezterm.lua index fa7a17f..efb564c 100644 --- a/.wezterm.lua +++ b/.wezterm.lua @@ -16,6 +16,7 @@ config.default_prog = { 'nu' } config.hide_tab_bar_if_only_one_tab = true config.tab_bar_at_bottom = false config.use_fancy_tab_bar = true + config.window_decorations = "TITLE | RESIZE" -return config \ No newline at end of file +return config