summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/laravel
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
committerLibravatarLibravatar Biswakalyan Bhuyan <biswa@surgot.in> 2024-03-25 16:43:09 +0530
commita62114c91f2070c8c8453d117f3d81dc113e41ff (patch)
treef266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/plugins/laravel
parentaf120ab348f2e1a5a39dec035ed9dcf84189a64e (diff)
downloaddotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/laravel')
-rw-r--r--zsh/oh-my-zsh/plugins/laravel/README.md57
-rw-r--r--zsh/oh-my-zsh/plugins/laravel/_artisan40
-rw-r--r--zsh/oh-my-zsh/plugins/laravel/laravel.plugin.zsh41
3 files changed, 0 insertions, 138 deletions
diff --git a/zsh/oh-my-zsh/plugins/laravel/README.md b/zsh/oh-my-zsh/plugins/laravel/README.md
deleted file mode 100644
index 95f5901..0000000
--- a/zsh/oh-my-zsh/plugins/laravel/README.md
+++ /dev/null
@@ -1,57 +0,0 @@
-# Laravel
-
-This plugin adds aliases and autocompletion for Laravel [Artisan](https://laravel.com/docs/artisan) and [Bob](http://daylerees.github.io/laravel-bob/) command-line interfaces.
-
-```
-plugins=(... laravel)
-```
-
-| Alias | Description |
-|:-:|:-:|
-| `artisan` | `php artisan` |
-| `pas` | `php artisan serve` |
-
-## Database
-
-| Alias | Description |
-|:-:|:-:|
-| `pam` | `php artisan migrate` |
-| `pamf` | `php artisan migrate:fresh` |
-| `pamfs` | `php artisan migrate:fresh --seed` |
-| `pamr` | `php artisan migrate:rollback` |
-| `pads` | `php artisan db:seed` |
-
-## Makers
-
-| Alias | Description |
-|:-:|:-:|
-| `pamm` | `php artisan make:model` |
-| `pamc` | `php artisan make:controller` |
-| `pams` | `php artisan make:seeder` |
-| `pamt` | `php artisan make:test` |
-| `pamfa` | `php artisan make:factory` |
-| `pamp` | `php artisan make:policy` |
-| `pame` | `php artisan make:event` |
-| `pamj` | `php artisan make:job` |
-| `paml` | `php artisan make:listener` |
-| `pamn` | `php artisan make:notification` |
-
-## Clears
-
-| Alias | Description |
-|:-:|:-:|
-| `pacac` | `php artisan cache:clear` |
-| `pacoc` | `php artisan config:clear` |
-| `pavic` | `php artisan view:clear` |
-| `paroc` | `php artisan route:clear` |
-
-## Queues
-
-| Alias | Description |
-|:-:|:-:|
-| `paqf` | `php artisan queue:failed` |
-| `paqft` | `php artisan queue:failed-table` |
-| `paql` | `php artisan queue:listen` |
-| `paqr` | `php artisan queue:retry` |
-| `paqt` | `php artisan queue:table` |
-| `paqw` | `php artisan queue:work` |
diff --git a/zsh/oh-my-zsh/plugins/laravel/_artisan b/zsh/oh-my-zsh/plugins/laravel/_artisan
deleted file mode 100644
index 8637514..0000000
--- a/zsh/oh-my-zsh/plugins/laravel/_artisan
+++ /dev/null
@@ -1,40 +0,0 @@
-#compdef artisan
-
-# Laravel autocompletion
-# Author: John Hamelink <john@johnhamelink.com>
-#
-# This plugin does the following:
-# - Adds aliases and autocompletion for artisan
-# - Adds aliases and autocompletion for bob
-
-local curcontext="$curcontext" state line _opts _bundles ret=1
-_arguments -C \
- '1: :->cmds' \
- '*:: :->args' && ret=0
-
-case $state in
- cmds)
-
- _values "Artisan command" \
- 'session\:install[Create a session table]' \
- 'migrate[Manage Migrations]' \
- 'test[Run a test]' \
- 'route\:\:call[Call a route in the CLI]' \
- 'key\:\:generate[Generate a key]'
- ret=0
- ;;
- args)
- case $line[1] in
- migrate)
- _values \
- 'install[Create the Laravel migration table' \
- 'make[Create a migration]' \
- 'rollback[Roll back to the last migration operation]' \
- 'reset[Roll back all migrations that have ever run]'
- ret=0
- ;;
- esac
- ;;
-esac
-
-return ret
diff --git a/zsh/oh-my-zsh/plugins/laravel/laravel.plugin.zsh b/zsh/oh-my-zsh/plugins/laravel/laravel.plugin.zsh
deleted file mode 100644
index a8382d3..0000000
--- a/zsh/oh-my-zsh/plugins/laravel/laravel.plugin.zsh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!zsh
-alias artisan='php artisan'
-alias bob='php artisan bob::build'
-
-# Development
-alias pas='php artisan serve'
-
-# Database
-alias pam='php artisan migrate'
-alias pamf='php artisan migrate:fresh'
-alias pamfs='php artisan migrate:fresh --seed'
-alias pamr='php artisan migrate:rollback'
-alias pads='php artisan db:seed'
-
-# Makers
-alias pamm='php artisan make:model'
-alias pamc='php artisan make:controller'
-alias pams='php artisan make:seeder'
-alias pamt='php artisan make:test'
-alias pamfa='php artisan make:factory'
-alias pamp='php artisan make:policy'
-alias pame='php artisan make:event'
-alias pamj='php artisan make:job'
-alias paml='php artisan make:listener'
-alias pamn='php artisan make:notification'
-alias pampp='php artisan make:provider'
-
-
-# Clears
-alias pacac='php artisan cache:clear'
-alias pacoc='php artisan config:clear'
-alias pavic='php artisan view:clear'
-alias paroc='php artisan route:clear'
-
-# queues
-alias paqf='php artisan queue:failed'
-alias paqft='php artisan queue:failed-table'
-alias paql='php artisan queue:listen'
-alias paqr='php artisan queue:retry'
-alias paqt='php artisan queue:table'
-alias paqw='php artisan queue:work'