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 ps1
orcat ~/.zprofile | grep -i ps1
respectively. Be sure to do this with an edit to the original question.zshrc
.zshrc
-- runningls -a
shows.zprofile
,.zsh_history
,.zsh_sessions
, and.zshenv
but nothing else related to.zsh
zshrc
andzprofile
interchangeably. 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)eval "$(/opt/homebrew/bin/brew shellenv)"