dotfiles/setup/bash.sh

9 lines
223 B
Bash
Raw Normal View History

2012-10-12 14:53:55 +00:00
#!/bin/bash
2012-10-23 08:47:00 +00:00
2012-10-12 14:53:55 +00:00
# Installs Bash 4 and registers it as a default shell
2012-10-23 08:47:00 +00:00
2012-10-12 14:53:55 +00:00
brew install bash
2012-11-09 10:04:28 +00:00
grep -Fxq '/usr/local/bin/bash' /etc/shells || sudo bash -c "echo /usr/local/bin/bash >> /etc/shells"
2012-10-23 08:47:00 +00:00
chsh -s /usr/local/bin/bash $USER