changeset 899:4306bc7d8e37

Disable CYGWIN=noglob for docker-machine. See https://github.com/docker/machine/issues/4516
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Thu, 21 Jun 2018 17:28:29 +0300
parents 06a6d05760f4
children 8913625a0404
files .bashrc
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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