dotfiles/setup/bash.sh
2012-10-23 12:47:00 +04:00

9 lines
234 B
Bash
Executable File

#!/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