mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-22 04:51:12 +02:00
add plugin to support please
This commit is contained in:
parent
c3b072eace
commit
63e8da0836
2 changed files with 29 additions and 0 deletions
17
plugins/please/README.md
Normal file
17
plugins/please/README.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# please autocomplete 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.
|
||||
|
||||
### Autocomplete
|
||||
* autocomplete `plz` commands
|
||||
* autocomplete build targets
|
||||
|
||||
### Alias
|
||||
* `plz test` -> `pt`
|
||||
* `plz build` -> `pb`
|
||||
* `plz watch` -> `pw`
|
||||
|
||||
### Maintainer
|
||||
[@thought-machine](https://github.com/thought-machine)
|
||||
12
plugins/please/please.plugin.zsh
Normal file
12
plugins/please/please.plugin.zsh
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# Auto completion for plz, the command line tool for the please build system
|
||||
# For more details go to http://please.build
|
||||
#
|
||||
# Author: https://github.com/thought-machine
|
||||
|
||||
if [ $commands[plz] ]; then
|
||||
source <(plz --completion_script)
|
||||
fi
|
||||
|
||||
alias pb='plz build'
|
||||
alias pt='plz test'
|
||||
alias pw='plz watch'
|
||||
Loading…
Add table
Add a link
Reference in a new issue