summaryrefslogtreecommitdiffstats
path: root/zsh/oh-my-zsh/plugins/laravel/_artisan
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/_artisan
parentaf120ab348f2e1a5a39dec035ed9dcf84189a64e (diff)
downloaddotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2
dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/laravel/_artisan')
-rw-r--r--zsh/oh-my-zsh/plugins/laravel/_artisan40
1 files changed, 0 insertions, 40 deletions
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