]> arthur.barton.de Git - OhMyZshExtensions.git/blob - plugins/boot2docker/boot2docker.plugin.zsh
Add "boot2docker" plugin: Setup Docker boot2docker environment
[OhMyZshExtensions.git] / plugins / boot2docker / boot2docker.plugin.zsh
1 # boot2docker.plugin.zsh
2 # 2015-04-18, alex@barton.de
3
4 boot2docker status | fgrep "running" >/dev/null
5 if [ $? -eq 0 ]; then
6         # boot2docker VM is running
7         eval `boot2docker shellinit 2>/dev/null`
8 fi