{"id":22202247,"url":"https://github.com/rumkin/profile_patcher","last_synced_at":"2025-03-25T01:42:27.086Z","repository":{"id":152260203,"uuid":"55527458","full_name":"rumkin/profile_patcher","owner":"rumkin","description":"Stop patching ~/.profile file","archived":false,"fork":false,"pushed_at":"2016-04-07T15:54:08.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T03:26:20.496Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rumkin.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2016-04-05T17:19:34.000Z","updated_at":"2016-04-05T17:34:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d4b3e59-b435-4793-b093-272e59761b77","html_url":"https://github.com/rumkin/profile_patcher","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fprofile_patcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fprofile_patcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fprofile_patcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rumkin%2Fprofile_patcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rumkin","download_url":"https://codeload.github.com/rumkin/profile_patcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245383118,"owners_count":20606265,"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","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":[],"created_at":"2024-12-02T16:12:55.365Z","updated_at":"2025-03-25T01:42:27.080Z","avatar_url":"https://github.com/rumkin.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Profile Patcher\n\n[![Join the chat at https://gitter.im/rumkin/profile_patcher](https://badges.gitter.im/rumkin/profile_patcher.svg)](https://gitter.im/rumkin/profile_patcher?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nThe last `~/profile` patch. It adds `.profile.d` directory into `$HOME`\nand automatically requires shell scripts from it. No more `~/.profile` patching!\nJust put all your scripts into `~/.profile.d`.\n\nIt can patch profile skeleton to make this work for all new users.\nCurrently it supports `ubuntu` skeleton patching only or `/etc/skel` directory.\n\n## Usage\n\nPatch skeleton:\n```bash\n./patch.sh\n```\n\nPatch user directory:\n```bash\n./patch.sh $HOME # Or other dir\n```\n\nNow you can add shell script into `.profile.d` to avoid headache with manual\n`~/.profile` patching.\n\n## Installation\n\nInstall and patch skeleton:\n\n```bash\nwget https://raw.githubusercontent.com/rumkin/profile_patcher/master/patch.sh | bash\n```\n\nInstall and patch specified directory:\n```bash\nPATCH=$HOME wget https://raw.githubusercontent.com/rumkin/profile_patcher/master/patch.sh | bash\n```\n\nManual installation and patching:\n```bash\nwget https://raw.githubusercontent.com/rumkin/profile_patcher/master/patch.sh\nsudo ./patch.sh ~root # Patch root\n./patch.sh $HOME # Patch home\n./patch.sh # Patch skeleton\n```\n\n## Uninstall patch\n\nTo uninstall add `-d` flag as the first cli argument:\n```shell\n./patch.sh -d $HOME\n```\n\n**NOTE**! That `.profile.d` directory will not be uninstalled.\nYou should do it manually or use `-D` flag:\n\n```shell\n./patch.sh -D $HOME # remove .profile.d too\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frumkin%2Fprofile_patcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frumkin%2Fprofile_patcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frumkin%2Fprofile_patcher/lists"}