From e1b090a1f06d984a27af8fcdec1a88b450cd1938 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Wed, 21 Oct 2015 15:53:45 -0700 Subject: [PATCH] Add docker-env alias to set docker-machine environment variables --- bash/aliases | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bash/aliases b/bash/aliases index 1cc3bdd..70663a3 100644 --- a/bash/aliases +++ b/bash/aliases @@ -44,6 +44,8 @@ alias dash-v1='cd ~/code/insight-platform && ~/src/grails-1.2.2/bin/grails run-a # http://davidwalsh.name/fixing-vagrant-errors alias fix-vagrant='sudo /Library/StartupItems/VirtualBox/VirtualBox restart' +alias docker-env='eval $(docker-machine env default)' + # Some common aliases alias ll='ls -alF' alias df='df -h'