From b39f04ecb06f02ef00bf5528c9f1d9838a6f7a73 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Wed, 29 May 2024 18:27:46 -0500 Subject: [PATCH] use a way of checking version that works < 0.94 --- .chezmoitemplates/nu-config.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chezmoitemplates/nu-config.nu b/.chezmoitemplates/nu-config.nu index c4d0c01..89fdda7 100644 --- a/.chezmoitemplates/nu-config.nu +++ b/.chezmoitemplates/nu-config.nu @@ -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