Skip to content

Commit

Permalink
.brew.sh: Automate switch to brew-installed Bash
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbyrnes authored and mathiasbynens committed May 16, 2016
1 parent 270f3d3 commit 40fd8cc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/bash

This file was deleted.

6 changes: 6 additions & 0 deletions brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ brew install bash
brew tap homebrew/versions
brew install bash-completion2

# Switch to using brew-installed bash as default shell
if ! fgrep -q '/usr/local/bin/bash' /etc/shells; then
echo '/usr/local/bin/bash' | sudo tee -a /etc/shells;
chsh -s /usr/local/bin/bash;
fi;

# Install `wget` with IRI support.
brew install wget --with-iri

Expand Down

0 comments on commit 40fd8cc

Please sign in to comment.