{"id":21074821,"url":"https://github.com/dawsbot/get-shell-rc","last_synced_at":"2025-10-15T12:09:57.602Z","repository":{"id":57250436,"uuid":"76819738","full_name":"dawsbot/get-shell-rc","owner":"dawsbot","description":"Get the rc file path for any Linux/Unix Shel","archived":false,"fork":false,"pushed_at":"2019-04-19T11:24:07.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T19:58:55.333Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/dawsbot.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}},"created_at":"2016-12-19T02:05:04.000Z","updated_at":"2016-12-19T02:30:47.000Z","dependencies_parsed_at":"2022-08-24T16:51:20.483Z","dependency_job_id":null,"html_url":"https://github.com/dawsbot/get-shell-rc","commit_stats":null,"previous_names":["dawsonbotsford/get-shell-rc"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/dawsbot/get-shell-rc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsbot%2Fget-shell-rc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsbot%2Fget-shell-rc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsbot%2Fget-shell-rc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsbot%2Fget-shell-rc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dawsbot","download_url":"https://codeload.github.com/dawsbot/get-shell-rc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawsbot%2Fget-shell-rc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279077248,"owners_count":26098234,"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-15T02:00:07.814Z","response_time":56,"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":[],"created_at":"2024-11-19T19:18:12.480Z","updated_at":"2025-10-15T12:09:57.583Z","avatar_url":"https://github.com/dawsbot.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-shell-rc\n[![npm version](https://img.shields.io/npm/v/get-shell-rc.svg)](https://www.npmjs.com/package/get-shell-rc)\n[![Build Status](https://travis-ci.org/dawsonbotsford/get-shell-rc.svg?branch=master)](https://travis-ci.org/dawsonbotsford/get-shell-rc)\n[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n\n\u003e Get the rc file path for any Linux/Unix Shell\n\n## Install\n\n```\nnpm install --save get-shell-rc\n```\n\n## Usage\n\n```js\nconst getShellRc = require('get-shell-rc');\n\n// when using bash\ngetShellRc();\n//=\u003e '/users/yourUsername/.bashrc'\n\n// when using zsh\ngetShellRc();\n//=\u003e '/users/yourUsername/.zshrc'\n```\n\n## API\n\n### getShellRc()\n\nReturns a `string` with the absolute file path to your respective shell's `rc` file.\n\n## License\n\nMIT © [Dawson Botsford](http://dawsonbotsford.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawsbot%2Fget-shell-rc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdawsbot%2Fget-shell-rc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawsbot%2Fget-shell-rc/lists"}