{"action":"opened","issue":{"url":"https://api.github.com/repos/zsh-users/zsh-autosuggestions/issues/152","repository_url":"https://api.github.com/repos/zsh-users/zsh-autosuggestions","labels_url":"https://api.github.com/repos/zsh-users/zsh-autosuggestions/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/zsh-users/zsh-autosuggestions/issues/152/comments","events_url":"https://api.github.com/repos/zsh-users/zsh-autosuggestions/issues/152/events","html_url":"https://github.com/zsh-users/zsh-autosuggestions/issues/152","id":150348016,"number":152,"title":"Evals need escaping","user":{"login":"danielshahaf","id":2141904,"avatar_url":"https://avatars.githubusercontent.com/u/2141904?v=3","gravatar_id":"","url":"https://api.github.com/users/danielshahaf","html_url":"https://github.com/danielshahaf","followers_url":"https://api.github.com/users/danielshahaf/followers","following_url":"https://api.github.com/users/danielshahaf/following{/other_user}","gists_url":"https://api.github.com/users/danielshahaf/gists{/gist_id}","starred_url":"https://api.github.com/users/danielshahaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielshahaf/subscriptions","organizations_url":"https://api.github.com/users/danielshahaf/orgs","repos_url":"https://api.github.com/users/danielshahaf/repos","events_url":"https://api.github.com/users/danielshahaf/events{/privacy}","received_events_url":"https://api.github.com/users/danielshahaf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-22T11:51:34Z","updated_at":"2016-04-22T11:51:34Z","closed_at":null,"body":"https://github.com/zsh-users/zsh-autosuggestions/blob/87facd9b85630f288433aa0a20a963cffc612ee5/zsh-autosuggestions.zsh#L134 needs to escape `$widget` as `${(q)widget}` because the value `$widget` might be shell-unsafe.  (E.g., the plugin \"opp.zsh\" creates widgets with literal `(` in their names, according to a bug report (issue 278) I received over at z-sy-h, which would cause the eval to report a syntax error.)"}}