Created
May 13, 2016 09:33
-
-
Save minhoryang/aa6edf85b9d3465037606af06e4b4008 to your computer and use it in GitHub Desktop.
docker-machine shortcut
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
function dm () { | |
docker-machine "$@" $(docker-machine active) | |
} | |
function dm! () { | |
eval "$(dm env)" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment