From 5f2e74623b70617101042c1968ad03d6dccb8a13 Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Thu, 6 Nov 2025 12:30:55 -0500 Subject: [PATCH] Fix terminal tab title function not including control sequences --- scripts.d/10-starship.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)"