From 88ccccdb50033c432e7086ed4792e8185dc8733d Mon Sep 17 00:00:00 2001 From: Ethan Paul Date: Fri, 7 Nov 2025 12:36:15 -0500 Subject: [PATCH] Fix setting window title when in project dir --- scripts.d/10-starship.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts.d/10-starship.sh b/scripts.d/10-starship.sh index d8f85df..3ed249b 100644 --- a/scripts.d/10-starship.sh +++ b/scripts.d/10-starship.sh @@ -1,6 +1,6 @@ function set_window_title() { - if [ "${PWD}" == "$PROJECTS_PATH/*" ]; then - echo -ne "\033]0; Toolbox: Development \007" + if [[ "${PWD}" == $PROJECTS_PATH/* ]]; then + echo -ne "\033]0; Project: $(basename ${PWD}) \007" else echo -ne "\033]0; $LOCATION \007" fi