Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • 1
    Or, just invoke zsh, and when you’re done exit to get back to bash. Exec’ing it seems unnecessary and undesirable. Commented May 3, 2012 at 7:32
  • All depends on what you expect your terminal window to do when you exit. I find starting a subshell unnecessary and undesirable, myself. Commented May 3, 2012 at 15:40
  • 3
    How do you change the default? Also, when I do "exec bash" in zsh, it does not source my bash_profile. Commented Jan 11, 2014 at 17:59
  • 1
    There are times when I want to use zsh and other times when it interferes with what I want to do. Setting the default back and forth is a bad idea so this is the perfect solution!!! kudos!! Commented Jan 20, 2017 at 4:55
  • 3
    But if you run echo $SHELL it keep saying /bin/zsh, which have unexpected results like this problem with MC (bug 3580). Commented Apr 28, 2018 at 23:32