Files
toolbox-dev-env/scripts.d/10-starship.sh

11 lines
239 B
Bash

function set_window_title() {
if [ "${PWD}" == $PROJECTS_DIR/* ]; then
echo -ne "Dev - $(basename $PWD)"
else
echo -ne "$LOCATION"
fi
}
starship_precmd_user_func="set_window_title"
eval "$(starship init bash)"