bash prompt: test the prompt with newline in repository path