The expected prompt is /home/oracle, but it's something like \342\236\234. What need to do to get it show the right folder name? enter image description here

  • What does "echo $PS1" (or "echo $PS1 | od -x" if the first command is unreadable) output?
    – Realraptor
    Dec 12 '17 at 9:01
  • It's ${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info) I am using zsh on the ssh server.
    – Daniel Wu
    Dec 13 '17 at 3:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.