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

OSX prompt suffix showed two times #426

Closed
neman opened this issue Feb 18, 2017 · 3 comments
Closed

OSX prompt suffix showed two times #426

neman opened this issue Feb 18, 2017 · 3 comments

Comments

@neman
Copy link

neman commented Feb 18, 2017

System Details

  • posh-git version: 0.7.0
  • PowerShell version: 6.0.0-alpha.16
  • Git version: 2.10.1
  • Operating system name and version: OSX Sierra 10.12.3

Issue Description

I have installed Powershell to OSX using powershell-6.0.0-alpha.16.pkg from the following link https://github.com/PowerShell/PowerShell/releases/tag/v6.0.0-alpha.16

After that, I have installed posh-git using command PowerShellGet\Install-Module posh-git -Scope CurrentUser

I have imported posh-git module using Import-Module posh-git command

I have created simple repo using git init and committed initial branch.

As you can see, i have two prompt information.
screenshot_001
And when I start typing, terminal does not show first one, as you can see on the second screen shot.
screenshot_002
And this is the result when I hit enter
screenshot_003

Is this some issue with powershell or posh-git?

$GitPromptSettings.DefaultPromptSuffix showed $('>' * ($nestedPromptLevel + 1))

@dahlbyk
Copy link
Owner

dahlbyk commented Feb 18, 2017

Is this the 4th bullet on #302?

@rkeithhill
Copy link
Collaborator

rkeithhill commented Feb 18, 2017

Yeah, this is ultimately a PSReadLine problem being tracked here. You can work around this by removing the PSReadLine module (Remove-Module psreadline) but man it's painful to use PowerShell without PSReadLine.

@rkeithhill
Copy link
Collaborator

Closing this as it is a PowerShell/PSReadLine issue.

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

3 participants