1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-21 21:30:09 +00:00

Add plugin for Please (#6568)

This commit is contained in:
chpeer 2018-01-22 17:50:36 +00:00 committed by Marc Cornellà
parent 7b75163543
commit ebc700be9b
2 changed files with 33 additions and 0 deletions

26
plugins/please/README.md Normal file
View file

@ -0,0 +1,26 @@
# please plugin
[Please](https://please.build) is a cross-language build system with an emphasis on
high performance, extensibility and reproduceability. It supports a number of popular
languages and can automate nearly any aspect of your build process.
This plugin adds autocomplete and major aliases for `plz`, the command line tool for
Please.
To use it, add `please` to the plugins array in your zshrc file:
```zsh
plugins=(... please)
```
## Aliases
| Alias | Command |
|-------|-------------|
| `pb` | `plz build` |
| `pt` | `plz test` |
| `pw` | `plz watch` |
## Maintainer
[@thought-machine](https://github.com/thought-machine)

View file

@ -0,0 +1,7 @@
if (( $+commands[plz] )); then
source <(plz --completion_script)
fi
alias pb='plz build'
alias pt='plz test'
alias pw='plz watch'