X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Flaravel%2F_artisan;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Flaravel%2F_artisan;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=8637514cfe97ccf0ce40d208b46c68ebbb8f86bb;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/laravel/_artisan b/stow/oh-my-zsh/.oh-my-zsh/plugins/laravel/_artisan deleted file mode 100644 index 8637514..0000000 --- a/stow/oh-my-zsh/.oh-my-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