Disable CYGWIN=noglob for docker-machine.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 21 Jun 2018 17:28:29 +0300
changeset 899 d5f00e3d31ec
parent 898 6ac59832aba5
child 900 9ffcac2096b5
Disable CYGWIN=noglob for docker-machine. See https://github.com/docker/machine/issues/4516
.bashrc
--- a/.bashrc	Tue Jun 12 11:22:39 2018 +0300
+++ b/.bashrc	Thu Jun 21 17:28:29 2018 +0300
@@ -169,6 +169,11 @@
 # what most people want from od (hexdump)
 # alias hd='od -Ax -tx1z -v'
 
+case $OSTYPE in
+  # CYGWIN=noglob causes https://github.com/docker/machine/issues/4516
+  cygwin) alias docker-machine='CYGWIN= docker-machine' ;;
+alias
+
 # --blank-lines-after-procedures --break-before-boolean-operator --braces-on-if-line --braces-on-struct-decl-line
 # --comment-indentationn --space-after-cast --line-comments-indentationn --declaration-indentationn --honour-newlines
 # --no-space-after-function-call-names --no-tabs --struct-brace-indentationn --start-left-side-of-comments