Adjust errors in bash prompt related to dirs with spaces in the name