From 4365792985f6bbaf65c847400fa47ce7c0d1cb79 Mon Sep 17 00:00:00 2001 From: Erwan ROUSSEL Date: Tue, 23 Oct 2018 14:43:44 +0200 Subject: [PATCH 1/4] Create README.md Add README.md to Symfony2 plugin --- plugins/symfony2/README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 plugins/symfony2/README.md diff --git a/plugins/symfony2/README.md b/plugins/symfony2/README.md new file mode 100644 index 000000000..d5d9c1880 --- /dev/null +++ b/plugins/symfony2/README.md @@ -0,0 +1,25 @@ +# Symfony2 + +This plugin provides completion for [symfony2](https://symfony.com/), as well as aliases for frequent composer commands. + +To use it add composer to the plugins array in your zshrc file. + +```bash +plugins=(... symfony2) +``` + +## Aliases + +| Alias | Command | Description | +|---------------|------------------------------|-------------------------------| +| `sf` | php app/console | Start the symfony console | +| `sfcl` | sf cache:clear | Clear the cache | +| `sfsr` | sf server:run | Run the dev server | +| `sfcw` | sf cache:warmup | Use the Bundles warmer | +| `sfroute` | sf debug:router | Show the different routes | +| `sfcontainer` | sf debug:contaner | List the different services | +| `sfgb` | sf generate:bundle | Generate a bundle | +| `sfge` | sf doctrine:generate:entity | Generate an entity | +| `sfsu` | sf doctrine:schema:update | Update the schema in Database | +| `sfdev` | sf --env=dev | Update environment to `dev` | +| `sfprod` | sf --env=prod | Update environment to `prod` | From 550781561bf6871fcf5036e0beb707e116de9d3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20H=C3=A4ber?= Date: Wed, 24 Oct 2018 15:56:51 +0200 Subject: [PATCH 2/4] helm: add README (#7325) --- plugins/helm/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 plugins/helm/README.md diff --git a/plugins/helm/README.md b/plugins/helm/README.md new file mode 100644 index 000000000..49844c78f --- /dev/null +++ b/plugins/helm/README.md @@ -0,0 +1,9 @@ +# Helm plugin + +This plugin adds completion for [Helm](https://helm.sh/), the Kubernetes package manager. + +To use it, add `helm` to the plugins array in your zshrc file: + +```zsh +plugins=(... helm) +``` From 50208f5c427fb6af076e24ac3a1eab714b4511b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Wed, 24 Oct 2018 16:01:42 +0200 Subject: [PATCH 3/4] fix copy errors --- plugins/symfony2/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/symfony2/README.md b/plugins/symfony2/README.md index d5d9c1880..562641dfb 100644 --- a/plugins/symfony2/README.md +++ b/plugins/symfony2/README.md @@ -1,8 +1,8 @@ # Symfony2 -This plugin provides completion for [symfony2](https://symfony.com/), as well as aliases for frequent composer commands. +This plugin provides completion for [Symfony 2](https://symfony.com/), as well as aliases for frequent Symfony commands. -To use it add composer to the plugins array in your zshrc file. +To use it add symfony2 to the plugins array in your zshrc file. ```bash plugins=(... symfony2) From 745b6550a6a8415e2c6df0006aad40549c3bc56a Mon Sep 17 00:00:00 2001 From: "Paul N. Baker" Date: Wed, 24 Oct 2018 09:41:05 -0600 Subject: [PATCH 4/4] mvn: run mvnw only if executable (#7326) The problem that can occur is ocassionally mvnw will not be executable. This can happen if mvnw is included from an archetype, as unix permissions aren't preserved within the jar they're stored in. Only using mvnw if it exists AND is executable --- plugins/mvn/mvn.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mvn/mvn.plugin.zsh b/plugins/mvn/mvn.plugin.zsh index 74583c6dc..f367fecce 100644 --- a/plugins/mvn/mvn.plugin.zsh +++ b/plugins/mvn/mvn.plugin.zsh @@ -20,9 +20,9 @@ BACKGROUND_CYAN=$(tput setab 6) BACKGROUND_WHITE=$(tput setab 7) RESET_FORMATTING=$(tput sgr0) -# if found a ./mvnw file execute it otherwise execute orignal mvn +# if found an executable ./mvnw file execute it otherwise execute orignal mvn mvn-or-mvnw() { - if [ -f ./mvnw ] ; then + if [ -x ./mvnw ] ; then echo "executing mvnw instead of mvn" ./mvnw "$@"; else