Skip to content
This repository was archived by the owner on Mar 14, 2021. It is now read-only.

Commit bb310fa

Browse files
committed
Added basic information
1 parent 472ff95 commit bb310fa

File tree

1 file changed

+34
-12
lines changed

1 file changed

+34
-12
lines changed

README.md

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,46 @@
1-
# Homebrew [🐟][fish] completions
1+
# [🍺 Homebrew][Homebrew] [🐟 Fish shell][fish] completions
22

33
[![](https://img.shields.io/badge/fish--shell-2.6+-blue.svg)](https://github.com/fish-shell/fish-shell/releases)
44
[![](https://img.shields.io/badge/license-LGPLv3-blue.svg)](https://www.tldrlegal.com/l/lgpl-3.0)
5-
[![](http://github-release-version.herokuapp.com/github/laughedelic/brew-completions/release.svg)](https://github.com/laughedelic/brbrew-completions/releases/latest)
5+
[![](http://github-release-version.herokuapp.com/github/laughedelic/brew-completions/release.svg)](https://github.com/laughedelic/brew-completions/releases/latest)
6+
[![](https://img.shields.io/badge/contact-gitter_chat-dd1054.svg)][gitter]
7+
8+
[Fish shell][fish] completions for [Homebrew].
9+
10+
Fish includes some basic completions for brew, but a lot of commands and options are missing/outdated. So this work is aiming to fill the gap and provide a **comprehensive Homebrew completions plugin**. It supports
11+
12+
* all 75 core brew commands (85 with aliases) and all their options
13+
* official external commands with their subcommands and options:
14+
- [`bundle`](https://github.com/Homebrew/homebrew-bundle): Bundler for non-Ruby dependencies from Homebrew
15+
- [`cask`](https://github.com/caskroom/homebrew-cask): Install macOS applications distributed as binaries
16+
- [`services`](https://github.com/Homebrew/homebrew-services): Integrates Homebrew formulae with macOS's `launchctl` manager
17+
* besides basic options completion, it also takes into account when some options are _mutually exclusive_ or _depend on other options_
18+
19+
It is mostly based on the Homebrew documentation: manpage + `brew help`, but it also includes several "undocumented" commands, supported by Homebrew.
20+
21+
22+
##### A note about beta
23+
24+
This plugin is in beta, so you're welcome to try it out and report any issues you found. The code also includes some `FIXME` and `TODO` notes marking potential improvements/issues. If you have any suggestions or ideas, you're welcome to [open issues](https://github.com/laughedelic/brew-completions/issues/new) or join the [gitter chat][gitter].
25+
26+
Once it's considered stable, it may get either included with Homebrew or replace completions shipped with Fish.
27+
28+
For now you can install it with either Fish plugin manager (you can also install it manually by copying the `completions/brew.fish` file, but it's not recommended because you won't get updates automatically).
629

7-
[Fish shell][fish] completions for [Homebrew]
830

931
## Install
1032

11-
With [fisherman]
33+
* Using [fisherman](https://github.com/fisherman/fisherman):
34+
```fish
35+
fisher install laughedelic/brew-completions
36+
```
1237

13-
```
14-
fisher laughedelic/brew-completions
15-
```
38+
* Using [oh-my-fish](https://github.com/oh-my-fish/oh-my-fish):
39+
```fish
40+
omf install https://github.com/laughedelic/brew-completions
41+
```
1642

1743

18-
[travis-link]: https://travis-ci.org/laughedelic/brew-completions
19-
[travis-badge]: https://img.shields.io/travis/laughedelic/brew-completions.svg
20-
[slack-link]: https://fisherman-wharf.herokuapp.com
21-
[slack-badge]: https://fisherman-wharf.herokuapp.com/badge.svg
22-
[fisherman]: https://github.com/fisherman/fisherman
2344
[fish]: https://github.com/fish-shell/fish-shell
2445
[Homebrew]: https://brew.sh/
46+
[gitter]: https://gitter.im/laughedelic/brew-completions

0 commit comments

Comments
 (0)