dotfiles/setup/bash.sh
2012-10-16 16:11:28 +04:00

6 lines
231 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