6 lines
231 B
Bash
6 lines
231 B
Bash
#!/bin/bash
|
|
# Installs Bash 4 and registers it as a default shell
|
|
|
|
brew install bash
|
|
grep '/usr/local/bin/bash' /etc/shells >/dev/null 2>&1 && sudo bash -c "echo /usr/local/bin/bash >> /etc/shells"
|
|
chsh -s /usr/local/bin/bash $USER |