{"id":16941036,"url":"https://github.com/halostatue/fish-brew","last_synced_at":"2025-04-11T19:23:10.384Z","repository":{"id":66021869,"uuid":"190676148","full_name":"halostatue/fish-brew","owner":"halostatue","description":"Homebrew utility functions for Fish","archived":false,"fork":false,"pushed_at":"2025-04-10T03:28:57.000Z","size":54,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-11T19:23:06.094Z","etag":null,"topics":["fish","fish-plugin","fish-shell","fisher","homebrew"],"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/halostatue.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"halostatue","buy_me_a_coffee":"halostatue","ko_fi":"halostatue","tidelift":"rubygems/diff-lcs"}},"created_at":"2019-06-07T02:08:49.000Z","updated_at":"2025-04-10T03:28:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"b731c3dc-c5d3-49d1-88ab-8e134338d1f4","html_url":"https://github.com/halostatue/fish-brew","commit_stats":null,"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halostatue%2Ffish-brew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halostatue%2Ffish-brew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halostatue%2Ffish-brew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halostatue%2Ffish-brew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halostatue","download_url":"https://codeload.github.com/halostatue/fish-brew/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248465353,"owners_count":21108244,"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":["fish","fish-plugin","fish-shell","fisher","homebrew"],"created_at":"2024-10-13T21:08:34.147Z","updated_at":"2025-04-11T19:23:10.377Z","avatar_url":"https://github.com/halostatue.png","language":"Shell","funding_links":["https://github.com/sponsors/halostatue","https://buymeacoffee.com/halostatue","https://ko-fi.com/halostatue","https://tidelift.com/funding/github/rubygems/diff-lcs"],"categories":[],"sub_categories":[],"readme":"# halostatue/fish-brew\n\n[![Version][version]][releases]\n\nConfiguration and utility functions for [Homebrew][homebrew] in the\n[fish shell][shell].\n\n## Installation\n\nInstall with [Fisher][fisher]:\n\n```fish\nfisher install halostatue/fish-brew@v3\n```\n\n### System Requirements\n\n- [fish][fish] 3.4+\n- [Homebrew][homebrew]\n\n## Startup Configuration (`conf.d`)\n\nThe configuration file for fish-brew will detect the presence of the `brew`\nexecutable and place the Homebrew binary paths in `$PATH`.\n\n\u003e The `brew` paths will be resolved from `$HOME/.brew`, `$HOME/.linuxbrew`,\n\u003e `/opt/homebrew`, or `/usr/local`. An additional path can be searched by\n\u003e setting the universal variable `$__homebrew_prefix`.\n\n### `$PATH` Configuration\n\nIf `(brew --prefix)/bin` is found in `$fish_user_paths`, `$PATH` configuration\nwill be skipped. Note that putting `(brew --prefix)/{,s}bin` in\n`$fish_user_paths` is not recommended, as `(brew --prefix)/sbin` may be placed\nbefore `/usr/bin`, potentially resulting in odd behaviours.\n\nThe correct ordering of Homebrew paths with default paths is:\n\n- `(brew --prefix)/bin`\n- `/usr/local/bin`\n- `/usr/bin`\n- `/bin`\n- `(brew --prefix)/sbin`\n- `/usr/local/sbin`\n- `/usr/sbin`\n- `/sbin`\n\n\u003e If using MacPorts, I recommend using [halostatue/fish-macports][macports] in\n\u003e addition to fish-brew to ensure that Homebrew and MacPorts paths are placed in\n\u003e the correct order.\n\n### Homebrew Configuration\n\n\u003e This feature is deprecated and will be removed in fish-brew@v4. It is\n\u003e recommended that the local Homebrew environment files be used instead, as\n\u003e described in [Environment][env].\n\u003e\n\u003e A deprecation warning will be printed every ten interactive sessions if\n\u003e `$HOME/.config/brew/config.fish`.\n\nIf `$HOME/.config/brew/config.fish` exists, it will be sourced during\ninitialization. This allows the loading of configuration values like\n`$HOMEBREW_GITHUB_API_TOKEN`.\n\n## Functions\n\n### `has_keg`\n\n```fish\nhas_keg openssl\n```\n\nReturns true if the named keg is installed.\n\n### `has_cask`\n\n```fish\nhas_cask macvim\n```\n\nReturns true if the named cask is installed.\n\n## Licence\n\n[MIT](./LICENCE.md)\n\n## Change Log\n\n[CHANGELOG](./CHANGELOG.md)\n\n## Contributing\n\n- [Contributing](./CONTRIBUTING.md)\n- [Contributors](./CONTRIBUTORS.md)\n- [Code of Conduct](./CODE_OF_CONDUCT.md)\n\n[env]: https://docs.brew.sh/Manpage#environment\n[fish]: https://github.com/fish-shell/fish-shell\n[fisher]: https://github.com/jorgebucaran/fisher\n[homebrew]: https://brew.sh\n[macports]: https://github.com/halostatue/fish-macports\n[shell]: https://fishshell.com 'friendly interactive shell'\n[version]: https://img.shields.io/github/tag/halostatue/fish-brew.svg?label=Version\n[releases]: https://github.com/halostatue/fish-brew/releases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalostatue%2Ffish-brew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalostatue%2Ffish-brew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalostatue%2Ffish-brew/lists"}