From d99162bc82236b4f3bbe3ef8228116929441bbdb Mon Sep 17 00:00:00 2001 From: Darren Schroeder <343840+fdncred@users.noreply.github.com> Date: Tue, 9 Mar 2021 07:40:30 -0600 Subject: [PATCH] updated title to match nushell changes --- prompt/left_and_right_prompt.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prompt/left_and_right_prompt.nu b/prompt/left_and_right_prompt.nu index cb431c9..fa7fcb3 100644 --- a/prompt/left_and_right_prompt.nu +++ b/prompt/left_and_right_prompt.nu @@ -79,7 +79,7 @@ def git_br [] { # Set Title String custom commands def set_title_str [str-arg] { - echo [$(ansi title) ' ' $str-arg ' ' $(ansi bel)] | str collect + echo [$(ansi title) ' ' $str-arg ' ' $(char bel)] | str collect } def get_abbrev_pwd_win [] { echo [$(pwd | split row '\' | first $(pwd | split row '\' | count | each {= $it - 1} ) | str substring '0,1' | format '{$it}/' | append $(pwd | split row '\' | last ) | str collect)] | str collect