Fix missing path in prompt; fix bugs in cd command