parse int

This commit is contained in:
Michael Zhang 2024-05-29 18:28:43 -05:00
parent b39f04ecb0
commit 908af263b6

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 version | split row . | get 1) >= 94) {
shell_integration: (if ((version | get version | split row . | get 1 | into int) >= 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