mchirico / zDaily

Playground to hack and test ideas with Zoe
1 stars 2 forks source link

Day 94: Updating Bash Shell on Mac #103

Open mchirico opened 3 years ago

mchirico commented 3 years ago

Video Day 94

I think "brew" is installed on your Mac? If not, you can get it here. It's a package manager.

  1. Will have to edit /etc/shells
  2. Update with chsh -s /usr/local/bin/bash command
chsh -s /usr/local/bin/bash

Note, the above command won't work unless /usr/local/bin/bash has been added to the '/etc/shells' file.

Here's my /etc/shells file

# List of acceptable shells for chpass(1).
# Ftpd will not allow users to connect who are not using
# one of these shells.

/bin/bash
/bin/csh
/bin/dash
/bin/ksh
/bin/sh
/bin/tcsh
/bin/zsh
/opt/local/bin/fish
/usr/local/bin/bash

Reference

https://www.howtogeek.com/444596/how-to-change-the-default-shell-to-bash-in-macos-catalina/

tacomonkautobot[bot] commented 3 years ago

mchirico, Thanks for opening this issue!