Fix terminal tab title function not including control sequences
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user