I'm using Mac OS Catalina.
I tried editting .zshrc file with
export PS1="\u \w \$ "
and my expected output would be user desktop $
.
However the actual output was \u \w $
. I don't understand why \u
or \w
is not working.
.zshrc file is located in /Users/(username) and I editted the file with VS code.
I checked that SHELL=/bin/zsh
.
I literally have no idea why this is not working. Any help would be great!