👋 Hey there, thanks for this script, it saved me a ton of trouble on my Ryzentosh <3
I've installed fish as a shell, and the script didn't work. After some digging I've noticed that you correctly set the shell for the script to be #!/usr/bin/env bash but because my shell is not that by default (nor a compatible one), what happens is described here
If you are using fish and the SHELL environment variable is correctly set to the path where fish is located, docker-machine env name prints out the values in the format which fish expects
I've added a flag to docker-machine env to force it to dump the environment variables using bash syntax, as we're running this script in bash anyway.
👋 Hey there, thanks for this script, it saved me a ton of trouble on my Ryzentosh <3
I've installed fish as a shell, and the script didn't work. After some digging I've noticed that you correctly set the shell for the script to be
#!/usr/bin/env bash
but because my shell is not that by default (nor a compatible one), what happens is described hereI've added a flag to docker-machine env to force it to dump the environment variables using bash syntax, as we're running this script in bash anyway.