Only disable nushell shell_integration when wezterm is used (not fixed in current wezterm release)

This commit is contained in:
David Holland 2023-06-28 11:36:55 +02:00
parent 41d0031f7e
commit ca6f0b67aa
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9
2 changed files with 3 additions and 2 deletions

View file

@ -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: {

View file

@ -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
return config