{"id":30842117,"url":"https://github.com/bmoneill/habit","last_synced_at":"2026-05-09T03:31:54.033Z","repository":{"id":303851212,"uuid":"1016915816","full_name":"bmoneill/habit","owner":"bmoneill","description":"Break bad habits in the terminal","archived":false,"fork":false,"pushed_at":"2025-07-09T18:24:35.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-06T20:59:54.509Z","etag":null,"topics":["bash","command-line","productivity","terminal"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bmoneill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-09T18:15:30.000Z","updated_at":"2025-07-09T18:24:39.000Z","dependencies_parsed_at":"2025-07-10T03:42:56.576Z","dependency_job_id":"e83949be-1894-4fab-b78a-5a8fb82ede6a","html_url":"https://github.com/bmoneill/habit","commit_stats":null,"previous_names":["bmoneill/habit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bmoneill/habit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoneill%2Fhabit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoneill%2Fhabit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoneill%2Fhabit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoneill%2Fhabit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmoneill","download_url":"https://codeload.github.com/bmoneill/habit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmoneill%2Fhabit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278846572,"owners_count":26056138,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","command-line","productivity","terminal"],"created_at":"2025-09-06T20:44:01.908Z","updated_at":"2025-10-07T21:04:37.659Z","avatar_url":"https://github.com/bmoneill.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# habit: Break bad habits in the terminal\n\nThis is a script to help you break bad habits when using the terminal. Upon\nrunning a command with `habit`, you will be prompted to see if you have addressed\nall possible concerns/prerequisites before the command is executed.\n\n## Installing\n\n```shell\nsudo make install\n```\n\n## Usage\n\nHabit is mainly designed to be used in Bash aliases. After installing, put\nsomething like the following in `~/.config/habits.csv`:\n\n```csv\nCOMMAND,MESSAGE\ngit,Make sure you are on the right branch\ngit,Make sure your commit message is descriptive\ngit,Make sure your code works\nrm,Make sure you really want to remove these files!\n```\n\nModify your `.bashrc`:\n\n```bash\nalias git=\"habit git\"\nalias rm=\"habit rm\"\n```\n\nHabit will now prompt you every time you run the command:\n\n```bash\n$ git commit\nhabit:\n - Make sure you are on the right branch\n - Make sure your commit message is descriptive\n - Make sure the project builds\nDid you address these concerns? (y/n):\n```\n\n## License\n\nCopyright (c) 2025 Ben O'Neill \u003cben@oneill.sh\u003e. This work is released under the\nterms of the MIT License. See [LICENSE](LICENSE) for the license terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmoneill%2Fhabit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmoneill%2Fhabit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmoneill%2Fhabit/lists"}