1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00

updated title to match nushell changes

This commit is contained in:
Darren Schroeder 2021-03-09 07:40:30 -06:00
parent 7eed8781d8
commit d99162bc82

View file

@ -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