{"action":"created","issue":{"url":"https://api.github.com/repos/nvbn/thefuck/issues/809","repository_url":"https://api.github.com/repos/nvbn/thefuck","labels_url":"https://api.github.com/repos/nvbn/thefuck/issues/809/labels{/name}","comments_url":"https://api.github.com/repos/nvbn/thefuck/issues/809/comments","events_url":"https://api.github.com/repos/nvbn/thefuck/issues/809/events","html_url":"https://github.com/nvbn/thefuck/issues/809","id":320174625,"node_id":"MDU6SXNzdWUzMjAxNzQ2MjU=","number":809,"title":"Powershell, The term 'thefuck' is not recognized as the name of a cmdlet","user":{"login":"maracuja-juice","id":16801528,"node_id":"MDQ6VXNlcjE2ODAxNTI4","avatar_url":"https://avatars3.githubusercontent.com/u/16801528?v=4","gravatar_id":"","url":"https://api.github.com/users/maracuja-juice","html_url":"https://github.com/maracuja-juice","followers_url":"https://api.github.com/users/maracuja-juice/followers","following_url":"https://api.github.com/users/maracuja-juice/following{/other_user}","gists_url":"https://api.github.com/users/maracuja-juice/gists{/gist_id}","starred_url":"https://api.github.com/users/maracuja-juice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maracuja-juice/subscriptions","organizations_url":"https://api.github.com/users/maracuja-juice/orgs","repos_url":"https://api.github.com/users/maracuja-juice/repos","events_url":"https://api.github.com/users/maracuja-juice/events{/privacy}","received_events_url":"https://api.github.com/users/maracuja-juice/received_events","type":"User","site_admin":false},"labels":[{"id":559753883,"node_id":"MDU6TGFiZWw1NTk3NTM4ODM=","url":"https://api.github.com/repos/nvbn/thefuck/labels/windows","name":"windows","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-04T07:18:26Z","updated_at":"2018-10-02T19:31:17Z","closed_at":null,"author_association":"NONE","body":"**The output of `thefuck --version` (something like `The Fuck 3.1 using Python 3.5.0`):**\r\n\r\n    The Fuck 3.26 using Python 3.6.5\r\n\r\n**Your shell and its version (`bash`, `zsh`, *Windows PowerShell*, etc.):**\r\n\r\n    Windows Powershell, 5.1.16299.251\r\n\r\n**Your system (Debian 7, ArchLinux, Windows, etc.):**\r\n\r\n    Windows 10\r\n\r\n**How to reproduce the bug:**\r\n\r\n    - install thefuck\r\n\t`py -m pip install thefuck`\r\n    - put the alias into your powershell profile\r\n    ```\r\n    $env:PYTHONIOENCODING=\"utf-8\"\r\n    iex \"$(thefuck --alias)\"\r\n    ```\r\n    - start a new powershell\r\n\r\nResult:\r\n```\r\nthefuck : The term 'thefuck' is not recognized as the name of a cmdlet, function, script file, \r\nor operable program. Check the spelling of the name, or if a path was included, verify that the\r\npath is correct and try again.\r\n```\r\n    \r\n**The output of The Fuck with `THEFUCK_DEBUG=true` exported (typically execute `export THEFUCK_DEBUG=true` in your shell before The Fuck):**\r\n\r\nHmm I can't manage to output this.\r\n\r\n\r\n**Anything else you think is relevant:**\r\n\r\nI also tried it with the following in my profile:\r\n```\r\n...\r\niex \"$(C:\\Users\\MyUserName\\AppData\\Local\\Programs\\Python\\Python36-32\\Scripts\\thefuck.exe --alias)\"\r\n```\r\nThen I get a similar error after executing `fuck`:\r\n```\r\nthefuck : The term 'thefuck' is not recognized as the name of a cmdlet, function, script file,\r\nor operable program. Check the spelling of the name, or if a path was included, verify that the\r\npath is correct and try again.\r\nAt line:1 char:141\r\n+ ... g]::IsNullOrWhiteSpace($history)) {         $fuck = $(thefuck $args $ ...\r\n+                                                           ~~~~~~~\r\n    + CategoryInfo          : ObjectNotFound: (thefuck:String) [], CommandNotFoundException\r\n    + FullyQualifiedErrorId : CommandNotFoundException\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/nvbn/thefuck/issues/comments/426401230","html_url":"https://github.com/nvbn/thefuck/issues/809#issuecomment-426401230","issue_url":"https://api.github.com/repos/nvbn/thefuck/issues/809","id":426401230,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjQwMTIzMA==","user":{"login":"Gabgab2003","id":33293877,"node_id":"MDQ6VXNlcjMzMjkzODc3","avatar_url":"https://avatars3.githubusercontent.com/u/33293877?v=4","gravatar_id":"","url":"https://api.github.com/users/Gabgab2003","html_url":"https://github.com/Gabgab2003","followers_url":"https://api.github.com/users/Gabgab2003/followers","following_url":"https://api.github.com/users/Gabgab2003/following{/other_user}","gists_url":"https://api.github.com/users/Gabgab2003/gists{/gist_id}","starred_url":"https://api.github.com/users/Gabgab2003/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gabgab2003/subscriptions","organizations_url":"https://api.github.com/users/Gabgab2003/orgs","repos_url":"https://api.github.com/users/Gabgab2003/repos","events_url":"https://api.github.com/users/Gabgab2003/events{/privacy}","received_events_url":"https://api.github.com/users/Gabgab2003/received_events","type":"User","site_admin":false},"created_at":"2018-10-02T19:31:17Z","updated_at":"2018-10-02T19:31:17Z","author_association":"NONE","body":"The new normal alias is fuck so try that @maracuja-juice "}}
{"actor":{"display_login":"Gabgab2003"}}