Scott Hanselman is one of the good people in tech, and his YouTube channel is full of great tech topics explained in his clear, instructive fashion. While watching one of his git videos, I noticed his nice Windows terminal prompts that even indicate git status for him when he’s in a repo directory. You can see his terminal setup in his blog post How to make a pretty prompt in Windows Terminal with Powerline, Nerd Fonts, Cascadia Code, WSL, and oh-my-posh.
Obviously the first thing I did upon seeing this was pause the video and go in search of a way to make my Mac terminal do that crazy prompt thing. As I discovered, it’s easy if you use Zsh, which I already do.
Note: All this below assumes you’re already using Zsh as your shell.
You can see for yourself whether you’re using Bash or Zsh with the echo $SHELL command. You’ll …