Skip to content

Instantly share code, notes, and snippets.

@remi
Last active August 29, 2015 14:06
Show Gist options
  • Save remi/308c690da9483adaaddf to your computer and use it in GitHub Desktop.
Save remi/308c690da9483adaaddf to your computer and use it in GitHub Desktop.
Update Bash on OS X without setting it as default shell
$ brew update
$ brew install bash
$ sudo mv /bin/bash /bin/bash-what-the-hell-man
$ sudo ln -s `brew --prefix`/bin/bash /bin/bash
@garno
Copy link

garno commented Sep 25, 2014

Il est recommandé d'enlever +x sur ton ancien Bash.

$ chmod a-x /bin/bash-what-the-hell-man

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment