Last active
January 13, 2016 21:11
-
-
Save aldenks/417f932e845342e74d33 to your computer and use it in GitHub Desktop.
Fish shell command to configure shell for default vm
This file contains hidden or 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
eval (docker-machine env default | sed 's/export/set -x/g' | sed 's/=/ /g' | tr '\n' ';') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you probably don't want to do this, just set the environment variable
SHELL
to the path of your fish binary anddocker-machine env default
will print out fish shell compatible commands.for example, you could put this in
~/.config/fish/config.fish
: