Go to file
Marlon Richert 306b379e14
Fix Zsh completion
Currently, trying to get completion for `brew services` results in `a completion function is not defined for command or alias: services` and no actual completions. This is because `#compdef brew` in _brew_services conflicts with an identical statement in _brew, causing Zsh's compinit to not load _brew_services at all.

This commit fixes that by instead declaring that this file defines completion for `brew services` only.
2023-08-28 13:47:07 +03:00
.github triage-issues.yml: update to match main configuration 2023-06-13 10:05:35 +00:00
cmd cmd/services: scope Service class properly. 2023-03-24 09:25:25 +00:00
completions Fix Zsh completion 2023-08-28 13:47:07 +03:00
lib `brew style --fix` 2023-02-06 15:42:49 -05:00
spec formula_wrapper: return hash if there is no service command 2023-01-17 11:47:15 +01:00
.gitignore Tests and refactoring 2020-01-17 12:26:56 +00:00
Gemfile Fix RuboCop violations. 2020-08-31 03:44:09 +02:00
Gemfile.lock build(deps-dev): bump activesupport from 6.1.7.4 to 6.1.7.6 2023-08-23 05:55:15 +00:00
LICENSE.txt LICENSE: fix licence detection. 2018-03-19 11:19:25 +00:00
README.md README.md correct command 2022-09-17 23:03:41 -07:00

README.md

Homebrew Services

Manage background services using the daemon manager launchctl on macOS or systemctl on Linux.

Requirements

Homebrew is used for installing the services.

Install

brew services is automatically installed when first run.

Usage

See the brew services section of the man brew output or brew services --help.
To specify a service file use brew services <command> <formula> --file=<file>.

Tests

Tests can be run with bundle install && bundle exec rspec.

Copyright (c) Homebrew maintainers. See LICENSE.txt for details.