ebc700be9b2fa7ae770a644093a5c46a8e323726

Author
chpeer <19874293+chpeer@users.noreply.github.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Add plugin for Please (#6568)

Diff

 1diff --git a/plugins/please/README.md b/plugins/please/README.md
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..89bfbf10585414841dbe4983af532db7bdf41370
 4--- /dev/null
 5+++ b/plugins/please/README.md
 6@@ -0,0 +1,26 @@
 7+# please plugin
 8+
 9+[Please](https://please.build) is a cross-language build system with an emphasis on
10+high performance, extensibility and reproduceability. It supports a number of popular
11+languages and can automate nearly any aspect of your build process.
12+
13+This plugin adds autocomplete and major aliases for `plz`, the command line tool for
14+Please.
15+
16+To use it, add `please` to the plugins array in your zshrc file:
17+
18+```zsh
19+plugins=(... please)
20+```
21+
22+## Aliases
23+
24+| Alias | Command     |
25+|-------|-------------|
26+| `pb`  | `plz build` |
27+| `pt`  | `plz test`  |
28+| `pw`  | `plz watch` |
29+
30+## Maintainer
31+
32+[@thought-machine](https://github.com/thought-machine)
33diff --git a/plugins/please/please.plugin.zsh b/plugins/please/please.plugin.zsh
34new file mode 100644
35index 0000000000000000000000000000000000000000..0f58307ab20d35c7371307ae3b333c93d3f8644a
36--- /dev/null
37+++ b/plugins/please/please.plugin.zsh
38@@ -0,0 +1,7 @@
39+if (( $+commands[plz] )); then
40+    source <(plz --completion_script)
41+fi
42+
43+alias pb='plz build'
44+alias pt='plz test'
45+alias pw='plz watch'