{"action":"created","issue":{"url":"https://api.github.com/repos/sampsyo/beets/issues/1525","labels_url":"https://api.github.com/repos/sampsyo/beets/issues/1525/labels{/name}","comments_url":"https://api.github.com/repos/sampsyo/beets/issues/1525/comments","events_url":"https://api.github.com/repos/sampsyo/beets/issues/1525/events","html_url":"https://github.com/sampsyo/beets/issues/1525","id":91651219,"number":1525,"title":"zsh completion: Breaks when smartplaylist is enabled","user":{"login":"parnmatt","id":318829,"avatar_url":"https://avatars.githubusercontent.com/u/318829?v=3","gravatar_id":"","url":"https://api.github.com/users/parnmatt","html_url":"https://github.com/parnmatt","followers_url":"https://api.github.com/users/parnmatt/followers","following_url":"https://api.github.com/users/parnmatt/following{/other_user}","gists_url":"https://api.github.com/users/parnmatt/gists{/gist_id}","starred_url":"https://api.github.com/users/parnmatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parnmatt/subscriptions","organizations_url":"https://api.github.com/users/parnmatt/orgs","repos_url":"https://api.github.com/users/parnmatt/repos","events_url":"https://api.github.com/users/parnmatt/events{/privacy}","received_events_url":"https://api.github.com/users/parnmatt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sampsyo/beets/labels/bug","name":"bug","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-28T22:43:24Z","updated_at":"2015-09-17T16:25:25Z","closed_at":null,"body":"If I have `smartplaylist` in my list of plugins, I get the following message, `<TAB>` shown where pressed for completion:\r\n\r\n    beet <TAB>...error: unknown command 'as'\r\n    \r\n    _beet:zregexparse:4: invalid regex : #\r\n    _beet:zregexparse:4: invalid regex : #\r\n\r\nHowever works fine without the plugin. The program and plugins work perfectly fine, its just the tab completion that's messed up.\r\n\r\n![2015-06-28-234251_956x510_scrot](https://cloud.githubusercontent.com/assets/318829/8398653/6fae6d80-1def-11e5-9f10-b2f01c2e664f.png)\r\n"},"comment":{"url":"https://api.github.com/repos/sampsyo/beets/issues/comments/141139700","html_url":"https://github.com/sampsyo/beets/issues/1525#issuecomment-141139700","issue_url":"https://api.github.com/repos/sampsyo/beets/issues/1525","id":141139700,"user":{"login":"sampsyo","id":188033,"avatar_url":"https://avatars.githubusercontent.com/u/188033?v=3","gravatar_id":"","url":"https://api.github.com/users/sampsyo","html_url":"https://github.com/sampsyo","followers_url":"https://api.github.com/users/sampsyo/followers","following_url":"https://api.github.com/users/sampsyo/following{/other_user}","gists_url":"https://api.github.com/users/sampsyo/gists{/gist_id}","starred_url":"https://api.github.com/users/sampsyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sampsyo/subscriptions","organizations_url":"https://api.github.com/users/sampsyo/orgs","repos_url":"https://api.github.com/users/sampsyo/repos","events_url":"https://api.github.com/users/sampsyo/events{/privacy}","received_events_url":"https://api.github.com/users/sampsyo/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T16:25:25Z","updated_at":"2015-09-17T16:25:25Z","body":"Good catch! Perhaps there's a way we can adapt the completion script to be more robust to that kind of difference."}}