Skip to content

Instantly share code, notes, and snippets.

@AlexZeitler AlexZeitler/set-prompt.sh
Last active Sep 9, 2016

Embed
What would you like to do?
bash prompt including current git branch and current docker-machine
export PS1="\n\w\[\033[m\]\[\e[1;32m\]\$(__git_ps1) \[\033[36m\]\${DOCKER_MACHINE_NAME}\[\e[00m\]\n\[\033[32m\]⋙ \[\e[00m\] "
@AlexZeitler

This comment has been minimized.

Copy link
Owner Author

commented Aug 11, 2015

Result:
image

This requires docker-machine 0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.