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