{"action":"created","issue":{"url":"https://api.github.com/repos/MikeMcQuaid/strap/issues/40","repository_url":"https://api.github.com/repos/MikeMcQuaid/strap","labels_url":"https://api.github.com/repos/MikeMcQuaid/strap/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/MikeMcQuaid/strap/issues/40/comments","events_url":"https://api.github.com/repos/MikeMcQuaid/strap/issues/40/events","html_url":"https://github.com/MikeMcQuaid/strap/issues/40","id":120025088,"number":40,"title":"[Feature Request] Run local strap script after installing Brewfile","user":{"login":"AlJohri","id":2790092,"avatar_url":"https://avatars.githubusercontent.com/u/2790092?v=3","gravatar_id":"","url":"https://api.github.com/users/AlJohri","html_url":"https://github.com/AlJohri","followers_url":"https://api.github.com/users/AlJohri/followers","following_url":"https://api.github.com/users/AlJohri/following{/other_user}","gists_url":"https://api.github.com/users/AlJohri/gists{/gist_id}","starred_url":"https://api.github.com/users/AlJohri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlJohri/subscriptions","organizations_url":"https://api.github.com/users/AlJohri/orgs","repos_url":"https://api.github.com/users/AlJohri/repos","events_url":"https://api.github.com/users/AlJohri/events{/privacy}","received_events_url":"https://api.github.com/users/AlJohri/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-12-02T20:08:13Z","updated_at":"2016-08-07T07:10:02Z","closed_at":"2015-12-21T08:00:07Z","body":"Hi,\r\n\r\nSimilar to the laptop script, it would be nice to be able to run a local `~/.strap.local` script or perhaps even a script in the `USER/homebrew-brewfile` or `USER/dotfiles` repo.\r\n\r\n```\r\nif [ -f \"$HOME/.strap.local\" ]; then\r\n  . \"$HOME/.strap.local\"\r\nfi\r\n```\r\n\r\nEssentially my entire setup at the moment is:\r\n\r\n1. run strap\r\n2. install Brewfile\r\n3. run a script to configure the stuff installed from Brewfile (rbenv, bundler, pyenv, node, bashrc, zshrc, etc.)\r\n\r\nThis would make the 3rd step a bit easier. If its not within the scope of the project there are several other ways I can achieve this so let me know."},"comment":{"url":"https://api.github.com/repos/MikeMcQuaid/strap/issues/comments/238067712","html_url":"https://github.com/MikeMcQuaid/strap/issues/40#issuecomment-238067712","issue_url":"https://api.github.com/repos/MikeMcQuaid/strap/issues/40","id":238067712,"user":{"login":"MikeMcQuaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeMcQuaid","html_url":"https://github.com/MikeMcQuaid","followers_url":"https://api.github.com/users/MikeMcQuaid/followers","following_url":"https://api.github.com/users/MikeMcQuaid/following{/other_user}","gists_url":"https://api.github.com/users/MikeMcQuaid/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeMcQuaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeMcQuaid/subscriptions","organizations_url":"https://api.github.com/users/MikeMcQuaid/orgs","repos_url":"https://api.github.com/users/MikeMcQuaid/repos","events_url":"https://api.github.com/users/MikeMcQuaid/events{/privacy}","received_events_url":"https://api.github.com/users/MikeMcQuaid/received_events","type":"User","site_admin":true},"created_at":"2016-08-07T07:10:02Z","updated_at":"2016-08-07T07:10:02Z","body":"There is not beyond the [Brewfile hooks](https://github.com/MikeMcQuaid/strap/blob/5813c4b28e278e2c8a18d1830c01dbbd07ce14d9/bin/strap.sh#L244-L260). My main design opposition to adding them is how they are run on first system install. Strap should be the first thing that's run when you open a Terminal on a new system so any hooks would need a way that's standardised per-org rather than per-user to know what to do on a new install. I'm open to ideas to doing that, though? Perhaps a `strap-config` repository or something on the user account?"}}
{"actor":{"display_login":"MikeMcQuaid"}}