git_ps1 and readlink-f are compatible with directories containing spaces