Created
February 23, 2016 13:48
-
-
Save xcambar/73c02d77265766109b6f to your computer and use it in GitHub Desktop.
Indicates the currently active docker machine, if any.
This file contains 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 docker_indicator() { | |
if [[ -n "$DOCKER_MACHINE_NAME" ]]; then | |
echo "%F{blue}(🐳 $DOCKER_MACHINE_NAME)%f" | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment