Created
May 28, 2015 21:34
-
-
Save nickgartmann/cbf6bd71f9387f64790b to your computer and use it in GitHub Desktop.
Put this in your .bashrc or .zshrc to auto-initialize boot2docker for new shells (while boot2docker is up)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if [ "$(boot2docker status)" = 'running' ]; then | |
| $(boot2docker shellinit 2&>1) > /dev/null | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment