diff options
Diffstat (limited to 'oh-my-zsh/plugins/please')
-rw-r--r-- | oh-my-zsh/plugins/please/README.md | 26 | ||||
-rw-r--r-- | oh-my-zsh/plugins/please/please.plugin.zsh | 7 |
2 files changed, 33 insertions, 0 deletions
diff --git a/oh-my-zsh/plugins/please/README.md b/oh-my-zsh/plugins/please/README.md new file mode 100644 index 0000000..0a33f89 --- /dev/null +++ b/oh-my-zsh/plugins/please/README.md @@ -0,0 +1,26 @@ +# please plugin + +[Please](https://please.build) is a cross-language build system with an emphasis on +high performance, extensibility and reproducibility. 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) diff --git a/oh-my-zsh/plugins/please/please.plugin.zsh b/oh-my-zsh/plugins/please/please.plugin.zsh new file mode 100644 index 0000000..0f58307 --- /dev/null +++ b/oh-my-zsh/plugins/please/please.plugin.zsh @@ -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' |