From a9ff851e1954316d52955676ee3ceeb9d712a53c Mon Sep 17 00:00:00 2001 From: Arya Date: Sun, 31 Oct 2021 02:37:25 +0530 Subject: [PATCH] Fixes #10365. Add bloop plugin --- plugins/bloop/README.md | 18 ++++++++++++++++++ plugins/bloop/bloop.plugin.zsh | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 plugins/bloop/README.md create mode 100644 plugins/bloop/bloop.plugin.zsh diff --git a/plugins/bloop/README.md b/plugins/bloop/README.md new file mode 100644 index 000000000..608eb2fbd --- /dev/null +++ b/plugins/bloop/README.md @@ -0,0 +1,18 @@ +# bloop plugin + +The plugin adds several aliases for common [bloop](https://https://scalacenter.github.io/bloop/) commands. + +To use it, add `bloop` to the plugins array of your zshrc file: + +```zsh +plugins=(... bloop) +``` + +## Aliases + +| Alias | Command | Description | +|----------|---------------------------------------|---------------------------------------------------------------------| +| `bp` | `brew projects` | List the projects in current repository | +| `bc` | `brew compile ` | Compile the project | +| `bcl` | `brew clean ` | Clean the project | +| `br` | `brew run ` | Run the project | diff --git a/plugins/bloop/bloop.plugin.zsh b/plugins/bloop/bloop.plugin.zsh new file mode 100644 index 000000000..98e72321b --- /dev/null +++ b/plugins/bloop/bloop.plugin.zsh @@ -0,0 +1,4 @@ +alias bp='bloop projects' +alias bc='bloop compile ' +alias bcl='bloop clean ' +alias br='bloop run '