{"action":"created","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3673","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3673/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3673/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3673/events","html_url":"https://github.com/fish-shell/fish-shell/issues/3673","id":197431660,"number":3673,"title":"Right prompt shift","user":{"login":"FliiFe","id":8740385,"avatar_url":"https://avatars.githubusercontent.com/u/8740385?v=3","gravatar_id":"","url":"https://api.github.com/users/FliiFe","html_url":"https://github.com/FliiFe","followers_url":"https://api.github.com/users/FliiFe/followers","following_url":"https://api.github.com/users/FliiFe/following{/other_user}","gists_url":"https://api.github.com/users/FliiFe/gists{/gist_id}","starred_url":"https://api.github.com/users/FliiFe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FliiFe/subscriptions","organizations_url":"https://api.github.com/users/FliiFe/orgs","repos_url":"https://api.github.com/users/FliiFe/repos","events_url":"https://api.github.com/users/FliiFe/events{/privacy}","received_events_url":"https://api.github.com/users/FliiFe/received_events","type":"User","site_admin":false},"labels":[{"id":137587665,"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/needs-more-info","name":"needs-more-info","color":"fbca04","default":false},{"id":4724780,"url":"https://api.github.com/repos/fish-shell/fish-shell/labels/question","name":"question","color":"f9d0c4","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-23T22:09:47Z","updated_at":"2016-12-24T10:36:07Z","closed_at":null,"body":"<!-- check if this problem is already solved! github.com/issues?q=is:issue+user:fish-shell -->\r\n- [x] Have you checked if problem occurs with [fish 2.4.0](/fish-shell/fish-shell/releases/tag/2.4.0)?\r\n- [x] Tried fish without third-party customizations *(check `sh -c 'env HOME=$(mktemp -d) fish'`)*?\r\n\r\n**fish version installed** *(`fish --version`)*: `fish, version 2.4.0`\r\n\r\n**OS/terminal used**: URxvt\r\n\r\nThe right prompt is shifted by exactly one cell/character.\r\n\r\nIn zsh, this issue is solved using\r\n`ZLE_RPROMPT_INDENT=0`\r\n\r\nIs there any flag for fish ?\r\n\r\n## Reproduction steps\r\n\r\nAdd a right prompt\r\n\r\n## Result\r\n\r\n![Shift](https://i.imgur.com/GAvRQvZ.png)\r\n\r\nHere, `3%` is tmux, and `INSERT` is my Right prompt.\r\n"},"comment":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/comments/269078958","html_url":"https://github.com/fish-shell/fish-shell/issues/3673#issuecomment-269078958","issue_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3673","id":269078958,"user":{"login":"FliiFe","id":8740385,"avatar_url":"https://avatars.githubusercontent.com/u/8740385?v=3","gravatar_id":"","url":"https://api.github.com/users/FliiFe","html_url":"https://github.com/FliiFe","followers_url":"https://api.github.com/users/FliiFe/followers","following_url":"https://api.github.com/users/FliiFe/following{/other_user}","gists_url":"https://api.github.com/users/FliiFe/gists{/gist_id}","starred_url":"https://api.github.com/users/FliiFe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FliiFe/subscriptions","organizations_url":"https://api.github.com/users/FliiFe/orgs","repos_url":"https://api.github.com/users/FliiFe/repos","events_url":"https://api.github.com/users/FliiFe/events{/privacy}","received_events_url":"https://api.github.com/users/FliiFe/received_events","type":"User","site_admin":false},"created_at":"2016-12-24T10:36:07Z","updated_at":"2016-12-24T10:36:07Z","body":"It seems in their source code that powerline does that\r\n```fish\r\nfunction fish_right_prompt\r\n\tenv \\$POWERLINE_COMMAND $POWERLINE_COMMAND_ARGS shell right $addargs\r\n\t$rpromptpast\r\nend\r\n```\r\n\r\nIl try to unset the right prompt prior to loading powerline"}}
{"actor":{"display_login":"FliiFe"}}