check version for breaking change

This commit is contained in:
Michael Zhang 2024-05-29 18:25:39 -05:00
parent 6371708441
commit bd6197adc7

View file

@ -236,7 +236,8 @@ $env.config = {
use_ansi_coloring: true
bracketed_paste: true # enable bracketed paste, currently useless on windows
edit_mode: emacs # emacs, vi
shell_integration: {
shell_integration: (if ((version | get minor) >= 94) {
{
# osc2 abbreviates the path if in the home_dir, sets the tab/window title, shows the running command in the tab/window title
osc2: true
# osc7 is a way to communicate the path to the terminal, this is helpful for spawning new tabs in the same directory
@ -264,6 +265,7 @@ $env.config = {
# reset_application_mode is escape \x1b[?1l and was added to help ssh work better
reset_application_mode: true
}
} else { true })
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.
use_kitty_protocol: false # enables keyboard enhancement protocol implemented by kitty console, only if your terminal support this.