Fix setting window title when in project dir
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user