{"action":"created","issue":{"url":"https://api.github.com/repos/dahlbyk/posh-git/issues/486","repository_url":"https://api.github.com/repos/dahlbyk/posh-git","labels_url":"https://api.github.com/repos/dahlbyk/posh-git/issues/486/labels{/name}","comments_url":"https://api.github.com/repos/dahlbyk/posh-git/issues/486/comments","events_url":"https://api.github.com/repos/dahlbyk/posh-git/issues/486/events","html_url":"https://github.com/dahlbyk/posh-git/issues/486","id":261058960,"number":486,"title":"Duplicate prompt","user":{"login":"felixfbecker","id":10532611,"avatar_url":"https://avatars0.githubusercontent.com/u/10532611?v=4","gravatar_id":"","url":"https://api.github.com/users/felixfbecker","html_url":"https://github.com/felixfbecker","followers_url":"https://api.github.com/users/felixfbecker/followers","following_url":"https://api.github.com/users/felixfbecker/following{/other_user}","gists_url":"https://api.github.com/users/felixfbecker/gists{/gist_id}","starred_url":"https://api.github.com/users/felixfbecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixfbecker/subscriptions","organizations_url":"https://api.github.com/users/felixfbecker/orgs","repos_url":"https://api.github.com/users/felixfbecker/repos","events_url":"https://api.github.com/users/felixfbecker/events{/privacy}","received_events_url":"https://api.github.com/users/felixfbecker/received_events","type":"User","site_admin":false},"labels":[{"id":704663931,"url":"https://api.github.com/repos/dahlbyk/posh-git/labels/Area-PromptFunction","name":"Area-PromptFunction","color":"0e8a16","default":false},{"id":509806197,"url":"https://api.github.com/repos/dahlbyk/posh-git/labels/Bug","name":"Bug","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"rkeithhill","id":5177512,"avatar_url":"https://avatars1.githubusercontent.com/u/5177512?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeithhill","html_url":"https://github.com/rkeithhill","followers_url":"https://api.github.com/users/rkeithhill/followers","following_url":"https://api.github.com/users/rkeithhill/following{/other_user}","gists_url":"https://api.github.com/users/rkeithhill/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeithhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeithhill/subscriptions","organizations_url":"https://api.github.com/users/rkeithhill/orgs","repos_url":"https://api.github.com/users/rkeithhill/repos","events_url":"https://api.github.com/users/rkeithhill/events{/privacy}","received_events_url":"https://api.github.com/users/rkeithhill/received_events","type":"User","site_admin":false},"assignees":[{"login":"rkeithhill","id":5177512,"avatar_url":"https://avatars1.githubusercontent.com/u/5177512?v=4","gravatar_id":"","url":"https://api.github.com/users/rkeithhill","html_url":"https://github.com/rkeithhill","followers_url":"https://api.github.com/users/rkeithhill/followers","following_url":"https://api.github.com/users/rkeithhill/following{/other_user}","gists_url":"https://api.github.com/users/rkeithhill/gists{/gist_id}","starred_url":"https://api.github.com/users/rkeithhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkeithhill/subscriptions","organizations_url":"https://api.github.com/users/rkeithhill/orgs","repos_url":"https://api.github.com/users/rkeithhill/repos","events_url":"https://api.github.com/users/rkeithhill/events{/privacy}","received_events_url":"https://api.github.com/users/rkeithhill/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2017-09-27T17:38:07Z","updated_at":"2017-09-27T20:52:04Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nCheck the FAQ https://github.com/dahlbyk/posh-git/wiki/FAQ to see if your issue is addressed there.\r\nIf not, PLEASE fill in the following details so that we can help you!\r\n-->\r\n\r\n### System Details\r\n\r\n- posh-git version/path: 0.7.1\r\n- PowerShell version:\r\n```\r\nName                           Value                                                                                   \r\n----                           -----                                                                                   \r\nPSVersion                      6.0.0-beta                                                                              \r\nPSEdition                      Core                                                                                    \r\nGitCommitId                    v6.0.0-beta.7                                                                           \r\nOS                             Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-37...\r\nPlatform                       Unix                                                                                    \r\nPSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 \r\nPSRemotingProtocolVersion      2.3                                                                                     \r\nSerializationVersion           1.1.0.1                                                                                 \r\nWSManStackVersion              3.0  \r\n```\r\n- Git version: git version 2.13.5 (Apple Git-94)\r\n- Operating system name and version: macOS Sierra 10.12.6 (16G29)\r\n\r\n<!--\r\nTo retrieve the system details, paste the following line into PowerShell, press Enter\r\nand then copy/paste the resulting output above.\r\n\r\n\"- posh-git version/path: $($m = Get-Module posh-git; '{0} {1} {2}' -f $m.Version,$m.PrivateData.PSData.PreReleaseVersion,$m.ModuleBase.Replace($HOME,'~'))`n- PowerShell version: $($PSVersionTable.PSVersion)`n- $(\r\ngit --version)`n- OS: $([System.Environment]::OSVersion)\"\r\n-->\r\n\r\n### Issue Description\r\n\r\nMy prompt is duplicated:\r\n```ps\r\n10:35 $ powershell \r\nPowerShell v6.0.0-beta.7\r\nCopyright (C) Microsoft Corporation. All rights reserved.\r\n\r\n/Users/felix/git/vscode [master ≡]> /Users/felix/git/vscode [master ≡]\r\n```\r\n\r\nfurther typing causes weird behavior:\r\n\r\n![2017-09-27 10 36 53 am](https://user-images.githubusercontent.com/10532611/30928234-d8d55140-a36f-11e7-8dc7-2ae2d6e6ef66.gif)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dahlbyk/posh-git/issues/comments/332651532","html_url":"https://github.com/dahlbyk/posh-git/issues/486#issuecomment-332651532","issue_url":"https://api.github.com/repos/dahlbyk/posh-git/issues/486","id":332651532,"user":{"login":"felixfbecker","id":10532611,"avatar_url":"https://avatars0.githubusercontent.com/u/10532611?v=4","gravatar_id":"","url":"https://api.github.com/users/felixfbecker","html_url":"https://github.com/felixfbecker","followers_url":"https://api.github.com/users/felixfbecker/followers","following_url":"https://api.github.com/users/felixfbecker/following{/other_user}","gists_url":"https://api.github.com/users/felixfbecker/gists{/gist_id}","starred_url":"https://api.github.com/users/felixfbecker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felixfbecker/subscriptions","organizations_url":"https://api.github.com/users/felixfbecker/orgs","repos_url":"https://api.github.com/users/felixfbecker/repos","events_url":"https://api.github.com/users/felixfbecker/events{/privacy}","received_events_url":"https://api.github.com/users/felixfbecker/received_events","type":"User","site_admin":false},"created_at":"2017-09-27T20:52:04Z","updated_at":"2017-09-27T20:52:04Z","author_association":"NONE","body":"That gives me an error:\r\n```\r\nPS /Users/felix/git/posh-git> ./install.ps1                                                                             \r\nGet-AuthenticodeSignature : The term 'Get-AuthenticodeSignature' is not recognized as the name of a cmdlet, function, s\r\ncript file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is cor\r\nrect and try again.\r\nAt /Users/felix/git/posh-git/src/Utils.ps1:163 char:16\r\n+         $sig = Get-AuthenticodeSignature $profilePath\r\n+                ~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : ObjectNotFound: (Get-AuthenticodeSignature:String) [], CommandNotFoundException\r\n    + FullyQualifiedErrorId : CommandNotFoundException\r\n```"}}
{"actor":{"display_login":"felixfbecker"}}