{"action":"opened","issue":{"url":"https://api.github.com/repos/eddiezane/lunchy/issues/71","repository_url":"https://api.github.com/repos/eddiezane/lunchy","labels_url":"https://api.github.com/repos/eddiezane/lunchy/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/eddiezane/lunchy/issues/71/comments","events_url":"https://api.github.com/repos/eddiezane/lunchy/issues/71/events","html_url":"https://github.com/eddiezane/lunchy/issues/71","id":147181867,"number":71,"title":"Issue with similarly named scripts","user":{"login":"keith","id":283886,"avatar_url":"https://avatars.githubusercontent.com/u/283886?v=3","gravatar_id":"","url":"https://api.github.com/users/keith","html_url":"https://github.com/keith","followers_url":"https://api.github.com/users/keith/followers","following_url":"https://api.github.com/users/keith/following{/other_user}","gists_url":"https://api.github.com/users/keith/gists{/gist_id}","starred_url":"https://api.github.com/users/keith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keith/subscriptions","organizations_url":"https://api.github.com/users/keith/orgs","repos_url":"https://api.github.com/users/keith/repos","events_url":"https://api.github.com/users/keith/events{/privacy}","received_events_url":"https://api.github.com/users/keith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-10T01:25:44Z","updated_at":"2016-04-10T01:25:44Z","closed_at":null,"body":"Currently if you have a launchd script named `foo` and one named `foo.bar`, you cannot enable `foo`. Instead you get an error from [here](https://github.com/eddiezane/lunchy/blob/c78e554b60e408449937893b3054338411af273f/lib/lunchy.rb#L140-L141). This looks to be caused by not checking for more specific matches, rather than just the regex matches.\r\n\r\nI'm happy to submit a patch to also do a check for equality, besides just regex, if you're open to it!"}}