{"action":"created","issue":{"url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/45","repository_url":"https://api.github.com/repos/BurntSushi/ripgrep","labels_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/45/comments","events_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/45/events","html_url":"https://github.com/BurntSushi/ripgrep/issues/45","id":179009087,"number":45,"title":"Support ~/.rgignore in addition to .rgignore files in current+parent dirs","user":{"login":"kaushalmodi","id":3578197,"avatar_url":"https://avatars.githubusercontent.com/u/3578197?v=3","gravatar_id":"","url":"https://api.github.com/users/kaushalmodi","html_url":"https://github.com/kaushalmodi","followers_url":"https://api.github.com/users/kaushalmodi/followers","following_url":"https://api.github.com/users/kaushalmodi/following{/other_user}","gists_url":"https://api.github.com/users/kaushalmodi/gists{/gist_id}","starred_url":"https://api.github.com/users/kaushalmodi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaushalmodi/subscriptions","organizations_url":"https://api.github.com/users/kaushalmodi/orgs","repos_url":"https://api.github.com/users/kaushalmodi/repos","events_url":"https://api.github.com/users/kaushalmodi/events{/privacy}","received_events_url":"https://api.github.com/users/kaushalmodi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/BurntSushi/ripgrep/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-24T03:59:34Z","updated_at":"2016-09-24T04:57:10Z","closed_at":null,"body":"Hello,\r\n\r\nThis might be a feature borrowed from `ag`.\r\n\r\nIt is very convenient to have a global `~/.rgignore` that applies **everywhere**. It would contain stuff like:\r\n\r\n```\r\n*~\r\n*.lib\r\n*.cdb\r\n*.dm\r\n*.tag\r\n*.oa\r\n*.png\r\n*.db\r\n*.state\r\n*.SVM\r\n*.dat\r\n*.sdc\r\n*.il\r\n*.tr\r\n*.Cat\r\n*.cfg\r\n*.info\r\n*.stateScripts\r\n*#*#\r\nTAGS\r\nGTAGS\r\nGRTAGS\r\nGPATH\r\n```\r\n\r\nThen, even if I am working in `/proj/SOMEPRJ/` and if I have `/proj/SOMEPRJ/.rgignore`, then the `SOMEPRJ` specific `.rgignore` + `~/.rgignore`, both will be respected.\r\n\r\nThat way I do not copy the common stuff in the `.rgignore` of all the projects. *Note that `~` (or `/home/$USER`) and `/proj/SOMEPRJ/` do not share the same parent dir.*"},"comment":{"url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/comments/249345434","html_url":"https://github.com/BurntSushi/ripgrep/issues/45#issuecomment-249345434","issue_url":"https://api.github.com/repos/BurntSushi/ripgrep/issues/45","id":249345434,"user":{"login":"BurntSushi","id":456674,"avatar_url":"https://avatars.githubusercontent.com/u/456674?v=3","gravatar_id":"","url":"https://api.github.com/users/BurntSushi","html_url":"https://github.com/BurntSushi","followers_url":"https://api.github.com/users/BurntSushi/followers","following_url":"https://api.github.com/users/BurntSushi/following{/other_user}","gists_url":"https://api.github.com/users/BurntSushi/gists{/gist_id}","starred_url":"https://api.github.com/users/BurntSushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BurntSushi/subscriptions","organizations_url":"https://api.github.com/users/BurntSushi/orgs","repos_url":"https://api.github.com/users/BurntSushi/repos","events_url":"https://api.github.com/users/BurntSushi/events{/privacy}","received_events_url":"https://api.github.com/users/BurntSushi/received_events","type":"User","site_admin":false},"created_at":"2016-09-24T04:57:10Z","updated_at":"2016-09-24T04:57:10Z","body":"Well, `$HOME/.config/ripgrep/ignore` functionality doesn't exist. I was proposing it and asking if it would satisfy your use case. :-)"}}
{"actor":{"display_login":"BurntSushi"}}