Fix directory path
Reduce invoke external command for prompt
cache left_prompt for improve speed about 110ms -> 55ms