Closed edrevo closed 6 years ago
The check performed in https://github.com/boot2docker/boot2docker-cli/pull/356/files to see if the user is in a Windows terminal (cmd or Powershell) is return os.Getenv("TERM") != "".
return os.Getenv("TERM") != ""
Unfortunately, this is not a reliable way of checking the type of terminal and it actually clashes with Powershell modules like Posh-Git, which have following code:
function Enable-GitColors { $env:TERM = 'cygwin' }
Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).
The check performed in https://github.com/boot2docker/boot2docker-cli/pull/356/files to see if the user is in a Windows terminal (cmd or Powershell) is
return os.Getenv("TERM") != ""
.Unfortunately, this is not a reliable way of checking the type of terminal and it actually clashes with Powershell modules like Posh-Git, which have following code: