Fix setting window title when in project dir

This commit is contained in:
2025-11-07 12:36:15 -05:00
parent f2f34750ac
commit 88ccccdb50

View File

@@ -1,6 +1,6 @@
function set_window_title() { function set_window_title() {
if [ "${PWD}" == "$PROJECTS_PATH/*" ]; then if [[ "${PWD}" == $PROJECTS_PATH/* ]]; then
echo -ne "\033]0; Toolbox: Development \007" echo -ne "\033]0; Project: $(basename ${PWD}) \007"
else else
echo -ne "\033]0; $LOCATION \007" echo -ne "\033]0; $LOCATION \007"
fi fi