boot2docker / boot2docker-cli

boot2docker management utility
Apache License 2.0
339 stars 95 forks source link

shellinit command not working reliably on Powershell #376

Closed edrevo closed 6 years ago

edrevo commented 9 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") != "".

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'
}
tianon commented 6 years ago

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).