mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 16:20:07 +00:00
Merge pull request #3 from robbyrussell/master
Merge from Origin master
This commit is contained in:
commit
ec8a3d494f
3 changed files with 36 additions and 2 deletions
9
plugins/helm/README.md
Normal file
9
plugins/helm/README.md
Normal file
|
@ -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)
|
||||||
|
```
|
|
@ -20,9 +20,9 @@ BACKGROUND_CYAN=$(tput setab 6)
|
||||||
BACKGROUND_WHITE=$(tput setab 7)
|
BACKGROUND_WHITE=$(tput setab 7)
|
||||||
RESET_FORMATTING=$(tput sgr0)
|
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() {
|
mvn-or-mvnw() {
|
||||||
if [ -f ./mvnw ] ; then
|
if [ -x ./mvnw ] ; then
|
||||||
echo "executing mvnw instead of mvn"
|
echo "executing mvnw instead of mvn"
|
||||||
./mvnw "$@";
|
./mvnw "$@";
|
||||||
else
|
else
|
||||||
|
|
25
plugins/symfony2/README.md
Normal file
25
plugins/symfony2/README.md
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Symfony2
|
||||||
|
|
||||||
|
This plugin provides completion for [Symfony 2](https://symfony.com/), as well as aliases for frequent Symfony commands.
|
||||||
|
|
||||||
|
To use it add symfony2 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` |
|
Loading…
Reference in a new issue