From b6c2f86ff91616568005399fa9598b2fb04fed0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bilal=20=C3=9Cnal?= Date: Sat, 10 Mar 2018 15:29:42 +0300 Subject: [PATCH] add new laravel5 artisan aliases --- plugins/laravel5/laravel5.plugin.zsh | 69 ++++++++++++++++++++++++++-- 1 file changed, 64 insertions(+), 5 deletions(-) diff --git a/plugins/laravel5/laravel5.plugin.zsh b/plugins/laravel5/laravel5.plugin.zsh index 487a0742..9f4dfe60 100644 --- a/plugins/laravel5/laravel5.plugin.zsh +++ b/plugins/laravel5/laravel5.plugin.zsh @@ -12,9 +12,68 @@ _laravel5 () { compdef _laravel5 artisan compdef _laravel5 la5 -#Alias -alias la5='php artisan' +# auth +alias la5remclear='php artisan auth:clear-reminders' +alias la5remcontroller='php artisan auth:reminders-controller' +alias la5remtable='php artisan auth:reminders-table' -alias la5cache='php artisan cache:clear' -alias la5routes='php artisan route:list' -alias la5vendor='php artisan vendor:publish' +# cache +alias la5cacheclear='php artisan cache:clear' + +# command +alias la5command='php artisan command:make' + +# config +alias la5confpub='php artisan config:publish' + +# controller +alias la5controller='php artisan make:controller' + +# db +alias la5seed='php artisan db:seed' + +# key +alias la5key='php artisan key:generate' + +# migrate +alias la5migrate='php artisan migrate' +alias la5mig='la5migrate' +alias la5miginstall='php artisan migrate:install' +alias la5migmake='php artisan migrate:make' +alias la5migcreate='php artisan migrate:create' +alias la5migpublish='php artisan migrate:publish' +alias la5migrefresh='php artisan migrate:refresh' +alias la5migreset='php artisan migrate:reset' +alias la5migrollback='php artisan migrate:rollback' +alias la5rollback='la5migrollback' + +# queue +alias la5qfailed='php artisan queue:failed' +alias la5qfailedtable='php artisan queue:failed-table' +alias la5qflush='php artisan queue:flush' +alias la5qforget='php artisan queue:forget' +alias la5qlisten='php artisan queue:listen' +alias la5qretry='php artisan queue:retry' +alias la5qsubscribe='php artisan queue:subscribe' +alias la5qwork='php artisan queue:work' + +# session +alias la5stable='php artisan session:table' + +# view +alias la5vpub='php artisan view:publish' + +# misc +alias la5='php artisan' +alias la5changes='php artisan changes' +alias la5down='php artisan down' +alias la5env='php artisan env' +alias la5help='php artisan help' +alias la5list='php artisan list' +alias la5optimize='php artisan optimize' +alias la5routes='php artisan routes' +alias la5serve='php artisan serve' +alias la5tail='php artisan tail' +alias la5tinker='php artisan tinker' +alias la5up='php artisan up' +alias la5work='php artisan workbench' \ No newline at end of file