dotfiles/setup/bash.sh

9 lines
234 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
grep '/usr/local/bin/bash' /etc/shells >/dev/null 2>&1 && 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