diff --git a/scripts.d/10-starship.sh b/scripts.d/10-starship.sh index 07cc43b..c629e9a 100644 --- a/scripts.d/10-starship.sh +++ b/scripts.d/10-starship.sh @@ -1,11 +1,11 @@ function set_window_title() { if [ "${PWD}" == $PROJECTS_DIR/* ]; then - echo -ne "Dev - $(basename $PWD)" + echo -ne "\033]0; Toolbox: Development \007" else - echo -ne "$LOCATION" + echo -ne "\033]0; $LOCATION \007" fi } starship_precmd_user_func="set_window_title" -eval "$(starship init bash)" \ No newline at end of file +eval "$(starship init bash)"