Last active
September 9, 2016 09:52
-
-
Save AlexZeitler/69140578a1bb13483242 to your computer and use it in GitHub Desktop.
bash prompt including current git branch and current docker-machine
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
export PS1="\n\w\[\033[m\]\[\e[1;32m\]\$(__git_ps1) \[\033[36m\]\${DOCKER_MACHINE_NAME}\[\e[00m\]\n\[\033[32m\]⋙ \[\e[00m\] " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Result:

This requires docker-machine 0.3.0