use a way of checking version that works < 0.94

This commit is contained in:
Michael Zhang 2024-05-29 18:27:46 -05:00
parent bd6197adc7
commit b39f04ecb0

View file

@ -236,7 +236,7 @@ $env.config = {
use_ansi_coloring: true
bracketed_paste: true # enable bracketed paste, currently useless on windows
edit_mode: emacs # emacs, vi
shell_integration: (if ((version | get minor) >= 94) {
shell_integration: (if ((version | get version | split row . | get 1) >= 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