I tried making a git commit and push from my VS Code application. Immediately after making the commit and push, I realized that my mac terminal was in a different state. This is the image. Can someone help me revert back to my original mac terminal? Your help is much appreciated!
Asked
Active
Viewed 123 times
-1
-
Note that modern macOS sets your shell to zsh (not bash or tcsh) by default. Prompts are produced *by* your shell, using rules that are specific *to* your shell, so which shell you've chosen is the first question you must address. After that, the next question is *are you using someone's prompt package for that shell* and then (if so) *whose / which*. This has little if anything to do with Git, though there are numerous prompt packages that will show some Git state *in* the prompt. – torek Jun 23 '22 at 11:13
1 Answers
3
That looks like the oh-my-zsh robbyrussell prompt to me.
Maybe VS Code changed your default shell (which was bash I suppose).
Try changing the default shell back to /bin/bash
.

Alberto Basaglia
- 31
- 1