show path on same line in prompt