Files
toolbox-dev-env/scripts.d/10-starship.sh
Ethan Paul f2f34750ac Fix errors passing project arg through container init in dev func
Fix usage of old PROJECTS_DIR env var in starship setup
2025-11-07 12:33:18 -05:00

12 lines
267 B
Bash

function set_window_title() {
if [ "${PWD}" == "$PROJECTS_PATH/*" ]; then
echo -ne "\033]0; Toolbox: Development \007"
else
echo -ne "\033]0; $LOCATION \007"
fi
}
starship_precmd_user_func="set_window_title"
eval "$(starship init bash)"