X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/10cf60790cf2430aba9f7e7120ccd414959e4f81..b55d69396b587288c7e654035190d9e62fa70b71:/zsh/plugins/laravel/_artisan diff --git a/zsh/plugins/laravel/_artisan b/zsh/plugins/laravel/_artisan deleted file mode 100644 index 8637514..0000000 --- a/zsh/plugins/laravel/_artisan +++ /dev/null @@ -1,40 +0,0 @@ -#compdef artisan - -# Laravel autocompletion -# Author: John Hamelink -# -# 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