title: How to get the default shell
body: <p>We can run something like <code>chsh -s /usr/local/bin/zsh</code> to set a new default shell. Is there a command we can run to know what that shell is?</p>
  <p>I don’t mean having a terminal open and running a command to know which shell we’re in. I mean like in the example above, if I’m in a terminal with <code>/bin/bash</code> open, what should I run to get <code>/usr/local/bin/zsh</code> if it’s the current default shell?</p>