{"id":13343257,"url":"https://github.com/eugenesvk/xontrib-linuxbrew","last_synced_at":"2025-05-13T00:06:38.480Z","repository":{"id":54168397,"uuid":"344563807","full_name":"eugenesvk/xontrib-linuxbrew","owner":"eugenesvk","description":"Add Homebrew's shell environment to xonsh shell on Linux","archived":false,"fork":false,"pushed_at":"2021-07-24T15:48:02.000Z","size":9,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-13T00:06:38.332Z","etag":null,"topics":["brew","linuxbrew","xonsh","xontrib"],"latest_commit_sha":null,"homepage":"","language":"Python","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/eugenesvk.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":"2021-03-04T18:00:45.000Z","updated_at":"2022-03-17T20:49:15.000Z","dependencies_parsed_at":"2022-08-13T08:10:39.996Z","dependency_job_id":null,"html_url":"https://github.com/eugenesvk/xontrib-linuxbrew","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenesvk%2Fxontrib-linuxbrew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenesvk%2Fxontrib-linuxbrew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenesvk%2Fxontrib-linuxbrew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugenesvk%2Fxontrib-linuxbrew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eugenesvk","download_url":"https://codeload.github.com/eugenesvk/xontrib-linuxbrew/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253843215,"owners_count":21972873,"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":["brew","linuxbrew","xonsh","xontrib"],"created_at":"2024-07-29T19:30:45.188Z","updated_at":"2025-05-13T00:06:38.435Z","avatar_url":"https://github.com/eugenesvk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\r\nAdd Homebrew's shell environment to \u003ca href=\"https://xon.sh\"\u003exonsh shell\u003c/a\u003e on Linux\r\n\u003cbr/\u003e\r\n(alternative to \u003ca href=\"https://docs.brew.sh/Homebrew-on-Linux\"\u003eshellenv\u003c/a\u003e).\r\n\u003c/p\u003e\r\n\r\n\u003cp align=\"center\"\u003e  \r\nIf you like the idea click ⭐ on the repo to accelerate adding \u003ca href=\"https://github.com/Homebrew/brew/pull/10757#issuecomment-791381047\"\u003exonsh support to Homebrew\u003c/a\u003e.\r\n\u003c/p\u003e\r\n\r\n\r\n## Introduction\r\n\r\n__Homebrew__ has a `shellenv` command to add __its environment__ to your shell: it adds a few\r\nenvironment variables (`HOMEBREW_` `PREFIX`/`CELLAR`/`REPOSITORY`) and updates a few paths (`MAN`/`INFO`/ `PATH`).\r\n\r\nThis xontrib automatically translates the default __bash__ export statements of `shellenv` into __xonsh__.\r\n\r\n## Installation\r\n\r\nTo install use pip:\r\n\r\n```bash\r\nxpip install xontrib-linuxbrew\r\n# or: xpip install -U git+https://github.com/eugenesvk/xontrib-linuxbrew\r\n```\r\n\r\n## Usage\r\n\r\nAdd this to your xonsh run control file (`~/.xonshrc` or `~/.config/rc.xsh`):\r\n```bash\r\nxontrib load linuxbrew\r\n```\r\n\r\nSet the level of verbosity via `$XONTRIB_LINUXBREW_LOGLEVEL` to __0–3__:\r\n\r\n  - 0 print nothing (fail silently)\r\n  - 1 (default) print errors (e.g. can't find brew at default locations)\r\n  - 2 print warnings (e.g parsing errors)\r\n  - 3 print more verbose messages\r\n\r\n## Known issues\r\n\r\nOnly default installation paths (`~/.linuxbrew` and `/home/linuxbrew/.linuxbrew`) are supported.\r\n\r\n## Credits\r\n\r\nThis package was created with [xontrib cookiecutter template](https://github.com/xonsh/xontrib-cookiecutter).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugenesvk%2Fxontrib-linuxbrew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feugenesvk%2Fxontrib-linuxbrew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugenesvk%2Fxontrib-linuxbrew/lists"}