Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmder - Warning: Missing git support #806

Closed
ghost opened this issue Jan 18, 2016 · 7 comments
Closed

Cmder - Warning: Missing git support #806

ghost opened this issue Jan 18, 2016 · 7 comments

Comments

@ghost
Copy link

ghost commented Jan 18, 2016

Whenever I use PowerShell with Cmder on windows 10 I get this error:
"WARNING: Missing git support, install posh-git with 'Install-Module posh-git' and restart cmder
So what's the problem here?

@MartiUK
Copy link
Member

MartiUK commented Jan 18, 2016

Have you tried running what it says to run?

@JamesSkemp
Copy link

For anyone coming to this later, don't lose hope. See issue #1345. Basically, try running Update-Module posh-git and then restart Cmder.

This issue was high in Google's results, but the linked issue was not.

@chrisxaustin
Copy link

It's an obnoxious message if I don't feel like installing that module.
It definitely doesn't need to be displayed on every line.

@daxgames
Copy link
Member

@chrisxaustin This module is an integral part of Cmder Powershell sessions, if you don't like or want ot the don't run a Cmder Powershell session.

Just create a new Powershell task that does not use Cmder's profile.ps1 to configure the session.

@benmed00
Copy link

benmed00 commented Apr 5, 2019

The problem is still persistent for me

@daxgames
Copy link
Member

daxgames commented Apr 5, 2019

@benmed00 - What problem? This issue is closed and has been explained above.

@Gildedter
Copy link

For anyone coming to this later, don't lose hope. See issue #1345. Basically, try running Update-Module posh-git and then restart Cmder.

This issue was high in Google's results, but the linked issue was not.

I did this, but now I get this error:

Update-Module: Module 'posh-git' was not updated because no valid module was found in the module directory. Verify that the module is located in the folder specified by $env:PSModulePath.

I installed via scoop install cmder-full, but I only get the warning message inside VsCode terminal instance of cmder (this), applying the same config for Windows Terminal doesn't give me the same warning. Is posh-git really needed, or can I just do away with it? I'm on version 1.3.19.

Windows Terminal config:

{
    "altGrAliasing": true,
    "antialiasingMode": "grayscale",
    "closeOnExit": "graceful",
    "colorScheme": "Monokai Cmder",
    "commandline": "pwsh.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command . '%cmder_root%/vendor/conemu-maximus5//..//profile.ps1'",
    "cursorShape": "bar",
    "font": 
    {
        "size": 12
    },
    "guid": "{d5f425c9-ae54-4345-87ed-c5f707f814a2}",
    "hidden": false,
    "historySize": 9001,
    "icon": "%cmder_root%/icons/cmder.ico",
    "name": "Cmder (pwsh)",
    "opacity": 100,
    "padding": "8, 8, 8, 8",
    "snapOnInput": true,
    "startingDirectory": "%USERPROFILE%",
    "useAcrylic": true
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants