I am trying to change the prompt in my VSCode's terminal.
My OS is MacOS Monterey 12.6.
I use the zsh and I change the PS1 in .zprofile
,such like this.
Then I use echo
to test.The others can work except PS1
.
How to change the prompt?Is there any simple way?
.zprofile
contents) in an image. Instead, put it in a code block.