Recently, I changed my terminal prompt name to get rid of everything except the dollar sign. I did this a while ago, and from what I remember, I used System Preferences to make the change rather than my terminal. I want to change my name back to the default settings now, but I'm not sure how to undo this through System Preferences.
Edit:
echo $0 gave me an output of -zsh and cat ~/.zprofile | grep -i ps1 output nothing and just printed $ on a new line.

echo $0. If it says “bash” or “zsh” post the output ofcat ~/.bash_profile | grep -i ps1orcat ~/.zprofile | grep -i ps1respectively. Be sure to do this with an [edit] to the original question – Allan Jun 13 '23 at 18:45.zshrc– Allan Jun 13 '23 at 19:26.zshrc-- runningls -ashows.zprofile,.zsh_history,.zsh_sessions, and.zshenvbut nothing else related to.zsh– FluffyGhost8 Jun 13 '23 at 19:30zshrcandzprofileinterchangeably. It’s odd that you’re getting a$prompt since the%is used in Zsh. Can you post the contents ofcat ~/.zprofile | pbcopy. It will go to your clipboard so just paste it to the question. Format it if you can (for easy reading; see “help” on right side of AD) – Allan Jun 13 '23 at 19:56eval "$(/opt/homebrew/bin/brew shellenv)"– FluffyGhost8 Jun 13 '23 at 20:05.zshenv? – John Palmieri Jun 13 '23 at 20:34. "$HOME/.cargo/env"– FluffyGhost8 Jun 13 '23 at 21:06.zprofile. See https://apple.stackexchange.com/a/396296/119271 for an example and reference – Allan Jun 13 '23 at 21:18PROMPT='%F{blue}%n%f %#'under that first line of the.zshenvit didn't change anything. I still am only getting a dollar sign as my prompt, and the terminal is still black. – FluffyGhost8 Jun 13 '23 at 21:51.zshenv. This is for all shells - interactive and non-interactive. There’s no point in setting a prompt in a shell you can’t interact in. Set it in.zprofileinstead. See this answer I wrote on the topic. – Allan Jun 14 '23 at 01:13PROMPT='%F{blue}%n%f %#'in.zshenvand.zprofilebut neither of them changed anything – FluffyGhost8 Jun 14 '23 at 19:28echo "hello, this is .zshrc"into your.zshrc(etc.) files. If you don't see "hello ..." when you start a new terminal window, those scripts are not getting executed. If you see them, you can addecho $PROMPTandecho $PS1into the scripts, say at the top and at the bottom, to see if anything in the scripts is changing them. – John Palmieri Jun 14 '23 at 20:19export PROMPT=" $";clear;on startup. I only found this by pressing the up arrow immediately after starting the terminal.It turns out that for some reason I added a command to run on terminal startup sometime in the past. I found it by clicking on "Terminal > Preferences > Shell". Everything seems to be working as intended now. Thanks for the help!
– FluffyGhost8 Jun 14 '23 at 20:54