Last active
March 18, 2016 20:49
-
-
Save austinhyde/e77a4dafc03fd3a631e2 to your computer and use it in GitHub Desktop.
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 { | |
DM="$(docker-machine active 2>&1)" && printf "$1" "$DM" | |
} | |
export PS1='… $(__dm '%s ') …' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment